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 47253a094..712052b16 100644 --- a/Completion/Core/_expand +++ b/Completion/Core/_expand @@ -39,7 +39,7 @@ exp=("$word") { [[ "$curcontext" = expand-word:* ]] && expr=1 } } && [[ "${(e):-\$[$expr]}" -eq 1 ]] && exp=( ${(f)"$(print -lR - ${(e)exp//\\[ -]/ } 2>/dev/null)"} ) +]/ })"} ) 2>/dev/null # If the array is empty, store the original string again. |