From 4f45d235cefce8dfe35413a3ced8ec63791db0fc Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Mon, 23 Nov 2015 16:45:52 -0800 Subject: [PATCH] support PROMPT_DIRTRIM in agnoster --- themes/agnoster.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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