diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2015-11-26 21:14:04 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2015-11-26 21:14:04 +0100 |
commit | d62e937278a04b2cc8d4dde8be9562b9f10b068c (patch) | |
tree | 9ed62f2ee69f3231b0da25c69b420f3830f0fb3f /Functions/Prompts/prompt_bart_setup | |
parent | e439a99f592f80729d28f5b2f6f3fbb012a3fd9d (diff) | |
parent | 78abc72f64b03d675922f9a958fdf5d6aa32ab67 (diff) | |
download | zsh-d62e937278a04b2cc8d4dde8be9562b9f10b068c.tar.gz zsh-d62e937278a04b2cc8d4dde8be9562b9f10b068c.zip |
Merge tag '5.1.1-test-2' into debian
Second test version prior to 5.2 release.
Diffstat (limited to 'Functions/Prompts/prompt_bart_setup')
-rw-r--r-- | Functions/Prompts/prompt_bart_setup | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Functions/Prompts/prompt_bart_setup b/Functions/Prompts/prompt_bart_setup index 22c0c0340..cb032de8a 100644 --- a/Functions/Prompts/prompt_bart_setup +++ b/Functions/Prompts/prompt_bart_setup @@ -70,8 +70,8 @@ prompt_bart_help () { print -nP '\n%E' } -integer PSCOL=1 -typeset PSCMD= +integer -g PSCOL=1 +typeset -g PSCMD= prompt_bart_preexec () { setopt localoptions noxtrace noshwordsplit noksharrays unset @@ -106,7 +106,6 @@ prompt_bart_precmd () { psvar[8]='' # No padding until we compute it psvar[9]=() - typeset -g PSCOL # Reset the truncation widths for upcoming computations ((PSCOL == 1)) || { PSCOL=1 ; prompt_bart_ps1 } if [[ -o promptcr ]] |