diff options
Diffstat (limited to 'files/.zsh/rc/S06_grml_extension')
| -rw-r--r-- | files/.zsh/rc/S06_grml_extension | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/files/.zsh/rc/S06_grml_extension b/files/.zsh/rc/S06_grml_extension new file mode 100644 index 0000000..ba106f0 --- /dev/null +++ b/files/.zsh/rc/S06_grml_extension @@ -0,0 +1,10 @@ +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 + +# vim: ft=zsh : |
