summaryrefslogtreecommitdiff
path: root/Functions/Misc/promptnl
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2012-07-22 21:40:10 +0200
committerAxel Beckert <abe@deuxchevaux.org>2012-07-22 21:40:10 +0200
commit5c7ac461932c17df91374e6c2740ad22c95481af (patch)
tree85d21004331d9d1bfca266d111000acd7fa1725a /Functions/Misc/promptnl
parent3988419a8dc4a74e491df584804a77a2f8be88cd (diff)
parente27142d45686cacc6ed155e5045b97dd6243d44c (diff)
downloadzsh-5c7ac461932c17df91374e6c2740ad22c95481af.tar.gz
zsh-5c7ac461932c17df91374e6c2740ad22c95481af.zip
New upstream release
Diffstat (limited to 'Functions/Misc/promptnl')
-rw-r--r--Functions/Misc/promptnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/promptnl b/Functions/Misc/promptnl
index a98c4b8ee..155d58770 100644
--- a/Functions/Misc/promptnl
+++ b/Functions/Misc/promptnl
@@ -62,7 +62,7 @@ done
# If the cursor is not in the first column, emit EOLMARK and newline.
-(( ${${RECV#*\;}%R} > 1 )) && print -P -- $EOLMARK
+(( ${${${RECV#*\;}%R}:-0} > 1 )) && print -P -- $EOLMARK
return 0