1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +02:00

27577: sergio: (%) is not needed in zcalc prompt since PROMPTPERCENT is obeyed

This commit is contained in:
Peter Stephenson 2010-01-08 09:30:43 +00:00
parent b1e8b11abe
commit 8c60540ce6
2 changed files with 9 additions and 2 deletions

View file

@ -152,7 +152,7 @@ for (( num = 1; num <= $#; num++ )); do
done
psvar[1]=$num
while vared -cehp "${(%)ZCALCPROMPT}" line; do
while vared -cehp "${ZCALCPROMPT}" line; do
[[ -z $line ]] && break
# special cases
# Set default base if `[#16]' or `[##16]' etc. on its own.