diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Completion/Base/_math | 10 |
2 files changed, 4 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog index 909717259..5dbd4e275 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2000-05-09 Oliver Kiddle <opk@zsh.org> + * 11284: Completion/Base/_math: use _math to complete the let builtin + * 11282: Completion/Builtins/_vars_eq: complete using _arguments for typeset and its variants 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 |