diff options
| author | Anton Bobov <anton@bobov.name> | 2022-09-15 19:27:54 +0200 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2022-09-15 19:30:02 +0200 |
| commit | afc7b47498cbbca7a4df45c46eb92b5a8a94cbaf (patch) | |
| tree | ab103eb64c155ed8b35076a7d939c760808b7d77 /files/.zsh/rc/S06_grml_extension | |
| parent | 14473dced350f23fe83ec3cd3df06dc9c2637183 (diff) | |
zsh updates
- add python venv marker to prompt
- add aliasses and functions
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 : |
