about summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2000-05-09 17:16:08 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2000-05-09 17:16:08 +0000
commitd6245580513cbb99801ea005348eb1fbdf42bf89 (patch)
tree8b8dd1d09577491eceea154681b1910355adf0b8 /Completion/Base
parentf9938ba951ea09cea250eab05f596c081e6eed8a (diff)
downloadzsh-d6245580513cbb99801ea005348eb1fbdf42bf89.tar.gz
zsh-d6245580513cbb99801ea005348eb1fbdf42bf89.tar.xz
zsh-d6245580513cbb99801ea005348eb1fbdf42bf89.zip
Use _math for completing the let builtin
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/_math10
1 files changed, 2 insertions, 8 deletions
diff --git a/Completion/Base/_math b/Completion/Base/_math
index f7f4c360f..9af9e0d7e 100644
--- a/Completion/Base/_math
+++ b/Completion/Base/_math
@@ -1,4 +1,4 @@
-#defcomp -math-
+#compdef -math- let
 
 if [[ "$PREFIX" = *[^a-zA-Z0-9_]* ]]; then
   IPREFIX="$IPREFIX${PREFIX%%[a-zA-Z0-9_]#}"
@@ -9,10 +9,4 @@ if [[ "$SUFFIX" = *[^a-zA-Z0-9_]* ]]; then
   SUFFIX="${SUFFIX%%[^a-zA-Z0-9_]*}"
 fi
 
-compgen -v
-#defcomp -math-
-
-IPREFIX="$IPREFIX${PREFIX%[a-zA-Z0-9_]*}"
-PREFIX="${PREFIX##*[^a-zA-Z0-9_]}"
-
-compgen -v
+_parameters