X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=doc%2Fgrmlzshrc.t2t;h=844cb714b2cde8537fe717f7bc1b24ef887569c4;hb=2f64ae016b211b59ddd38b1ad2026b2ff9336328;hp=11261767db31d34ab74bec535288cfe9c7aa2146;hpb=95d0e2fdb605d14b4974a877406c990bd3a89426;p=grml-etc-core.git diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 1126176..844cb71 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -73,6 +73,15 @@ into the right hand side interactive prompt. Supported OSes are //GNU/Linux//, This variable contains the handler to be used by COMMAND_NOT_FOUND (see above) and defaults to "/usr/share/command-not-found/command-not-found". +: **GRML_NO_APT_ALIASES** +A non-empty value inhibits the definition of apt-specific short aliases, +such as ag, agi, ati etc. + +: **GRML_NO_SMALL_ALIASES** +A non-empty value inhibits the definition of 2-letter aliases such as da. +ls, ll, la and other common ls-related aliases are exempt from this, as are +the aliases inhibited by GRML_NO_APT_ALIASES. + : **GRMLSMALL_SPECIFIC** Set this to zero to remove items in zsh config, which do not work in grml-small. @@ -390,7 +399,7 @@ By default, **grml** is used, unless //$GRMLPROMPT// is set to a value larger than zero, in which case **grml-large** is used. Lastly, if //$GRML_CHROOT// is non-empty, **grml-chroot** is used. -As usual, with promtinit themes, the user may switch to a different theme using +As usual, with promptinit themes, the user may switch to a different theme using the //prompt// utility: \ ``` @@ -439,8 +448,9 @@ to: **'zsh: '** via zsh's vcs_info. == PERSISTENT HISTORY == If you got commands you consider important enough to be included in every -shell's history, you can put them into ~/.important_commands and they will be -available via the usual history lookup widgets. +shell's history, you can put them into $GRML_IMPORTANT_COMMANDS (which defaults +for backward compatibility to ~/.important_commands) and they will be available +via the usual history lookup widgets. = REFERENCE = @@ -570,7 +580,7 @@ Use case: you type "mv abc ~/testa/testb/testc/" and remember that the directory does not exist yet -> press **CTRL-xM** and problem solved. : **CTRL-x-p** -Searches the last occurence of string before the cursor in the command history. +Searches the last occurrence of string before the cursor in the command history. : **CTRL-x-z** Display help on keybindings and zsh line editor. Press consecutively to page through content. @@ -582,7 +592,7 @@ Brings a job, which got suspended with CTRL-z back to foreground. === Customisation === To customise keybindings, you can just use zsh's bindkey utility. However, if -you plan to to use the `//zle-line-init//' or `//zle-line-finish//' hooks +you plan to use the `//zle-line-init//' or `//zle-line-finish//' hooks yourself, make sure you call the following functions in the respective hook: - **zle-line-init**: //zle-smkx// @@ -768,7 +778,7 @@ Runs a command in zsh with profiling enabled (See startup variable ZSH_PROFILE_RC above). : **salias()** -Creates an alias whith sudo prepended, if $EUID is not zero. Run "salias -h" +Creates an alias with sudo prepended, if $EUID is not zero. Run "salias -h" for details. See also xunfunction() below. : **simple-extract()**