diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Core/_expand | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_expand b/Completion/Core/_expand index d0f8d8327..12c31860b 100644 --- a/Completion/Core/_expand +++ b/Completion/Core/_expand @@ -36,7 +36,7 @@ fi [[ "$word" = *\$\{[^\}]# ]] && return 1 zstyle -T ":completion:${curcontext}:" suffix && - [[ "$word" = (\~*/*|\$[a-zA-Z0-9_\[\]]##[^a-zA-Z0-9_\[\]]*|\$\{*\}?*) ]] && + [[ "$word" = (\~*/|\$(|[=~#^+])[a-zA-Z0-9_\[\]]##[^a-zA-Z0-9_\[\]]|\$\{*\}?)[^\$\{\}\(\)\<\>?^*#~]# ]] && return 1 zstyle -t ":completion:${curcontext}:" accept-exact || |