X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=inline;f=zsh%2Fgrmlzshrc.html;fp=zsh%2Fgrmlzshrc.html;h=4d76a8e6cf2133d30a8ff72a98111427f3fd26b7;hb=9ce75034867127025e7a2eeec3a810dc077443de;hp=38268e9423a7050153c0d9715c50098b8afa462a;hpb=91226a1cd3ccf28b3b1d59113183fe5f6da0ce89;p=grml.org.git diff --git a/zsh/grmlzshrc.html b/zsh/grmlzshrc.html index 38268e9..4d76a8e 100644 --- a/zsh/grmlzshrc.html +++ b/zsh/grmlzshrc.html @@ -135,6 +135,10 @@ Import "/etc/default/locale", if set to zero (default).
ZSH_PROFILE_RC
A non zero value causes shell functions to be profiled. The results can be obtained with the zprof builtin command (see zshmodules(1) for details). +

+
+
COMPDUMPFILE
+Specifies the location of the completion dump file. Default: $HOME/.zcompdump.

FEATURE DESCRIPTION

@@ -420,6 +424,11 @@ before doing so. A correct example customisation could look like this: # Customise the prompt yourself: PS1='%~ %# ' +

+You also add your own tokens by using the \`grml_theme_add_token()' function. +Call the function without arguments for detailed documentation about that +procedure. +

GNU/SCREEN STATUS SETTING

grmlzshrc sets screen's hardstatus lines to the currently running command @@ -606,6 +615,25 @@ Display help on keybindings and zsh line editor. Press consecutively to page thr 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 +yourself, make sure you call the following functions in the respective hook: +

+ +

+This is required so the keybindings set up by grmlzshrc work. The +reason for this is to turn the terminal into the right mode while zsh's line +editor (zle) is running. This enables us to query terminfo about escape +sequences for special keys and thus simplify and generalise our keybinding +section. +

SHELL FUNCTIONS

grmlzshrc comes with a wide array of defined shell functions to ease the @@ -1064,11 +1092,10 @@ Lists files in long colored output format. Opens syslog in pager.

-
ls (ls -b -CF --color=auto)
-Lists directory printing octal escapes for nongraphic characters. -Entries are listed by columns and an indicator for file type is appended -to each file name. Additionally the output is colored, if the terminal -supports it. +
ls (ls -CF --color=auto)
+Lists directory, entries are listed by columns and an indicator for +file type is appended to each file name. Additionally the output is +colored, if the terminal supports it.

lsa (ls -a .*(.))