diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Builtins/_vars_eq | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Completion/Builtins/_vars_eq b/Completion/Builtins/_vars_eq index fcbb0148c..9d7863ae6 100644 --- a/Completion/Builtins/_vars_eq +++ b/Completion/Builtins/_vars_eq @@ -1,3 +1,9 @@ -#defcomp declare export integer local readonly typeset +#compdef declare export integer local readonly typeset -complist -v -q -S '=' +if compset -P '*=*:'; then + _default +elif compset -P '*='; then + _default +else + _parameters -q -S '=' +fi |