X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=8695b4dbe9a42fe323715318389fd0c736202d75;hb=016955c64b5c7a1c90af47a1a26ffe466736a12b;hp=c540de711da47c0363b9d7f59fb60ddc424fb2e9;hpb=b10097c077da144719a64b71ffb2c7e673e4b247;p=grml-etc-core.git diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index c540de7..8695b4d 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -40,6 +40,16 @@ fi ## Now, we'll give a few examples of what you might want to use in your ## .zshrc.local file (just copy'n'paste and uncomment it there): +## Prompt theme extension ## + +# Virtualenv support + +#function virtual_env_prompt () { +# REPLY=${VIRTUAL_ENV+(${VIRTUAL_ENV:t}) } +#} +#grml_theme_add_token virtual-env -f virtual_env_prompt '%F{magenta}' '%f' +#zstyle ':prompt:grml:left:setup' items rc virtual-env change-root user at host path vcs percent + ## ZLE tweaks ## ## use the vi navigation keys (hjkl) besides cursor keys in menu completion @@ -94,6 +104,9 @@ fi ## add `|' to output redirections in the history #setopt histallowclobber +## try to avoid the 'zsh: no matches found...' +#setopt nonomatch + ## warning if file exists ('cat /dev/null > ~/.zshrc') #setopt NO_clobber