mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
moved to Completion/Zsh/Context/_math
This commit is contained in:
parent
a0ad55d34f
commit
6b88d1aaf2
@ -1,12 +0,0 @@
|
|||||||
#compdef -math- let
|
|
||||||
|
|
||||||
if [[ "$PREFIX" = *[^a-zA-Z0-9_]* ]]; then
|
|
||||||
IPREFIX="$IPREFIX${PREFIX%%[a-zA-Z0-9_]#}"
|
|
||||||
PREFIX="${PREFIX##*[^a-zA-Z0-9_]}"
|
|
||||||
fi
|
|
||||||
if [[ "$SUFFIX" = *[^a-zA-Z0-9_]* ]]; then
|
|
||||||
ISUFFIX="${SUFFIX##[a-zA-Z0-9_]#}$ISUFFIX"
|
|
||||||
SUFFIX="${SUFFIX%%[^a-zA-Z0-9_]*}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
_parameters -g '(integer|float)*' || _parameters
|
|
Loading…
Reference in New Issue
Block a user