From b5905579e4415e2d244bbd12096c888f94e8d82c Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Wed, 28 Aug 2013 00:18:18 +0200 Subject: [PATCH] Only set the option locally --- pure.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pure.zsh b/pure.zsh index f25ed40..3f27c0f 100644 --- a/pure.zsh +++ b/pure.zsh @@ -30,7 +30,7 @@ zstyle ':vcs_info:git*' actionformats ' %b|%a' # enable prompt substitution - setopt PROMPT_SUBST + setopt local_options prompt_subst # only show username if not default [ $USER != "$PURE_DEFAULT_USERNAME" ] && local username='%n@%m '