diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-10-02 09:55:09 +0200 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-10-02 09:55:09 +0200 |
commit | 9eba64edd6ced4a630b612ed4ff28c83a1e29d43 (patch) | |
tree | 79f199d1fac521b03537ac619b128ca79007524a /zsh/.zshrc | |
parent | 17418bda2425baa6fd03dca3dda26915ccf9b863 (diff) |
[zsh] Add [vifm] in prompt when appropriate
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r-- | zsh/.zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -50,6 +50,10 @@ PROMPT='%F{red}[%M]%f %0~ $ ' else PROMPT='%0~ $ ' fi + +if [[ -n $VIFM ]]; then +PROMPT="%F{green}[VIFM]%f $PROMPT" +fi # }}} ## Plugins {{{ [ ! -d ~/.zsh/zgen ] && git clone https://github.com/tarjoilija/zgen.git ~/.zsh/zgen |