summaryrefslogtreecommitdiff
path: root/Functions
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2015-08-30 22:01:55 +0200
committerAxel Beckert <abe@deuxchevaux.org>2015-08-30 22:01:55 +0200
commit2a4475bbba3adf67ae6e95dc489ca41d0062483f (patch)
treebe2fec1a3c0487b62b16402c1a73135fe00ccb78 /Functions
parenta90fb9402a5652391f57e1838399f700ca9a4a4e (diff)
parent11189c6df725d682a5b0759f83d0bd5afc0e330a (diff)
downloadzsh-2a4475bbba3adf67ae6e95dc489ca41d0062483f.tar.gz
zsh-2a4475bbba3adf67ae6e95dc489ca41d0062483f.zip
Merge tag 'zsh-5.1' into debian
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Prompts/prompt_bart_setup4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Prompts/prompt_bart_setup b/Functions/Prompts/prompt_bart_setup
index 45fcffed4..22c0c0340 100644
--- a/Functions/Prompts/prompt_bart_setup
+++ b/Functions/Prompts/prompt_bart_setup
@@ -178,7 +178,7 @@ prompt_bart_setup () {
typeset -gA fg
# A few extra niceties ...
- repeat 1 case "$1:l" in
+ repeat 1; do case "$1:l" in
(off|disable)
add-zsh-hook -D precmd "prompt_*_precmd"
add-zsh-hook -D preexec "prompt_*_preexec"
@@ -201,7 +201,7 @@ prompt_bart_setup () {
fg[%D]="%F{${4:-default}}"
fg[%@]="%F{${1:-red}}"
;;
- esac
+ esac; done
prompt_bart_ps1