diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index a6bb9c64a..35f2751ef 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -163,7 +163,7 @@ prompt_hg() { # Dir: current working directory prompt_dir() { - prompt_segment blue black '%~' + prompt_segment blue black "%${PROMPT_DIRTRIM:-}~" } # Virtualenv: current working virtualenv