1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-15 13:34:18 +01:00

36314: Avoid using short_loops syntax in distributed files

This commit is contained in:
Mikael Magnusson 2012-03-17 21:51:19 +01:00
parent 9ca9a092de
commit 095dd71cc0
2 changed files with 5 additions and 2 deletions

@ -2,6 +2,9 @@
* 36302: Src/Modules/attr.c: Fix compilation with libcap 2.24
* 36314: Functions/Prompts/prompt_bart_setup: Avoid using
short_loops syntax in distributed files
2015-08-27 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Completion/Unix/Command/_subversion: _subversion:

@ -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