diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-03-21 17:02:35 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-03-21 17:02:35 +0000 |
commit | 1ddc7c72e532bbbebf5027b78ce885d496a3fe1f (patch) | |
tree | 938c3ebb0164b24c15f797d9cfb6b3e5cf428372 /Functions | |
parent | a13255073765a1a76c9e13fc693153ab6768cbd3 (diff) | |
download | zsh-1ddc7c72e532bbbebf5027b78ce885d496a3fe1f.tar.gz zsh-1ddc7c72e532bbbebf5027b78ce885d496a3fe1f.tar.xz zsh-1ddc7c72e532bbbebf5027b78ce885d496a3fe1f.zip |
Tweak an expansion.
Diffstat (limited to 'Functions')
-rw-r--r-- | Functions/Prompts/prompt_bart_setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Prompts/prompt_bart_setup b/Functions/Prompts/prompt_bart_setup index e8889071d..57a8429a7 100644 --- a/Functions/Prompts/prompt_bart_setup +++ b/Functions/Prompts/prompt_bart_setup @@ -60,7 +60,7 @@ prompt_bart_precmd () { psvar[8]="$history[$[${(%):-%h}-1]]" # Use history text, not just number psvar[9]='' # Padding before upper right prompt - repeat $[COLUMNS-${#${(%%f)${PS1//[%]\{[^%]#%\}/}}[1]}-1] + repeat $[COLUMNS-${#${(%%f)${(S)PS1//[%]\{*%\}/}}[1]}-1] do psvar[9]="$psvar[9] " done |