From 095dd71cc01cb62514138841aad07c9ddb5465f6 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 17 Mar 2012 21:51:19 +0100 Subject: 36314: Avoid using short_loops syntax in distributed files --- Functions/Prompts/prompt_bart_setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions/Prompts') 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 -- cgit 1.4.1