summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 9b06a94..96a86d3 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -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