diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2012-06-16 04:30:35 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2012-06-16 04:30:35 +0000 |
commit | 38a4364db5ff298558fea28334a49c41f5921e7e (patch) | |
tree | cab5ad6b05e43f1dcdb74e97fd6c7c0f019aa219 /Functions/Misc | |
parent | 0ea4e90a7af0cec155dcd2548678ef05946edcc9 (diff) | |
download | zsh-38a4364db5ff298558fea28334a49c41f5921e7e.tar.gz zsh-38a4364db5ff298558fea28334a49c41f5921e7e.tar.xz zsh-38a4364db5ff298558fea28334a49c41f5921e7e.zip |
users/17134: avoid bad math error
Diffstat (limited to 'Functions/Misc')
-rw-r--r-- | Functions/Misc/promptnl | 2 |
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 |