diff options
Diffstat (limited to 'Completion/Base/_arguments')
-rw-r--r-- | Completion/Base/_arguments | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments index fb28438e2..19288b7ca 100644 --- a/Completion/Base/_arguments +++ b/Completion/Base/_arguments @@ -134,11 +134,7 @@ if (( long )); then tmp=("${(@)tmp:#*\=*}") tmpo=("${(@)${(@)tmpo%%\=*}//[^a-z0-9-]}") - if [[ "$descr" = ::* ]]; then - cache=( "$cache[@]" "${(@)^tmpo}=${descr[2,-1]}" ) - else - cache=( "$cache[@]" "${(@)^tmpo}=${descr}" ) - fi + cache=( "$cache[@]" "${(@)^tmpo}=${descr}" ) fi # Everything else is just added as a option without arguments. |