diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2008-06-13 14:16:57 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-06-13 14:16:57 +0000 |
| commit | 627c7db0e5c891c0878558e14b60f187009b5001 (patch) | |
| tree | 29cbd1fb6f12b41be5d84c19a473c4fb5d394cfa /Functions | |
| parent | improved zcalc escapes and completion (diff) | |
| download | zsh-627c7db0e5c891c0878558e14b60f187009b5001.tar zsh-627c7db0e5c891c0878558e14b60f187009b5001.tar.gz zsh-627c7db0e5c891c0878558e14b60f187009b5001.tar.bz2 zsh-627c7db0e5c891c0878558e14b60f187009b5001.tar.lz zsh-627c7db0e5c891c0878558e14b60f187009b5001.tar.xz zsh-627c7db0e5c891c0878558e14b60f187009b5001.tar.zst zsh-627c7db0e5c891c0878558e14b60f187009b5001.zip | |
zcalc completion idiosyncracies with :!
Diffstat (limited to 'Functions')
| -rw-r--r-- | Functions/Misc/zcalc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc index 2ec67a67d..40c829900 100644 --- a/Functions/Misc/zcalc +++ b/Functions/Misc/zcalc @@ -179,8 +179,8 @@ while vared -cehp "${(%)ZCALCPROMPT}" line; do line="${${line##[[:blank:]]#}%%[[:blank:]]#}" case "$line" in # Escapes begin with a colon - (:!*) - # shell escape + (:(\\|)!*) + # shell escape: handle completion's habit of quoting the ! eval ${line##:\![[:blank:]]#} line= continue |
