From 024fbd203e460f54da63ac228300c881b1a1ff3c Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Mon, 4 Jan 2016 20:39:08 -0800 Subject: [PATCH] add support for PROMPT_DIRTRIM to eriner --- modules/prompt/themes/eriner.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/prompt/themes/eriner.zsh-theme b/modules/prompt/themes/eriner.zsh-theme index 2dfba2e..b844d5f 100644 --- a/modules/prompt/themes/eriner.zsh-theme +++ b/modules/prompt/themes/eriner.zsh-theme @@ -99,7 +99,7 @@ prompt_git() { # Dir: current working directory prompt_dir() { - prompt_segment cyan ${PRIMARY_FG} ' %~ ' + prompt_segment cyan ${PRIMARY_FG} " %${PROMPT_DIRTRIM:-}~ " } # Status: