Revert "Only set the option locally"

This reverts commit b5905579e4.
This commit is contained in:
Sindre Sorhus
2013-08-31 00:08:49 +02:00
parent b5905579e4
commit 74d0db4ff1

View File

@@ -30,7 +30,7 @@
zstyle ':vcs_info:git*' actionformats ' %b|%a' zstyle ':vcs_info:git*' actionformats ' %b|%a'
# enable prompt substitution # enable prompt substitution
setopt local_options prompt_subst setopt PROMPT_SUBST
# only show username if not default # only show username if not default
[ $USER != "$PURE_DEFAULT_USERNAME" ] && local username='%n@%m ' [ $USER != "$PURE_DEFAULT_USERNAME" ] && local username='%n@%m '