diff options
Diffstat (limited to 'Completion/Base/_math')
-rw-r--r-- | Completion/Base/_math | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Base/_math b/Completion/Base/_math index f7f4c360f..90a2c5f7b 100644 --- a/Completion/Base/_math +++ b/Completion/Base/_math @@ -1,4 +1,4 @@ -#defcomp -math- +#compdef -math- if [[ "$PREFIX" = *[^a-zA-Z0-9_]* ]]; then IPREFIX="$IPREFIX${PREFIX%%[a-zA-Z0-9_]#}" @@ -10,7 +10,7 @@ if [[ "$SUFFIX" = *[^a-zA-Z0-9_]* ]]; then fi compgen -v -#defcomp -math- +#compdef -math- IPREFIX="$IPREFIX${PREFIX%[a-zA-Z0-9_]*}" PREFIX="${PREFIX##*[^a-zA-Z0-9_]}" |