From d6245580513cbb99801ea005348eb1fbdf42bf89 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 9 May 2000 17:16:08 +0000 Subject: Use _math for completing the let builtin --- Completion/Base/_math | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Completion') 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 -- cgit 1.4.1