diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-27 12:56:57 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-27 12:56:57 +0000 |
| commit | 4da5c1b2e0ae1dce9c75c8c883c4eb0ae8528c53 (patch) | |
| tree | dfc53fd59bc2bc7ee174ebf97d91f107b642bb87 /Completion/Base | |
| parent | 15507: new zcalc function (diff) | |
| download | zsh-4da5c1b2e0ae1dce9c75c8c883c4eb0ae8528c53.tar zsh-4da5c1b2e0ae1dce9c75c8c883c4eb0ae8528c53.tar.gz zsh-4da5c1b2e0ae1dce9c75c8c883c4eb0ae8528c53.tar.bz2 zsh-4da5c1b2e0ae1dce9c75c8c883c4eb0ae8528c53.tar.lz zsh-4da5c1b2e0ae1dce9c75c8c883c4eb0ae8528c53.tar.xz zsh-4da5c1b2e0ae1dce9c75c8c883c4eb0ae8528c53.tar.zst zsh-4da5c1b2e0ae1dce9c75c8c883c4eb0ae8528c53.zip | |
(15509)
Diffstat (limited to 'Completion/Base')
| -rw-r--r-- | Completion/Base/Utility/_describe | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Base/Utility/_describe b/Completion/Base/Utility/_describe index 25ca83486..cd891368a 100644 --- a/Completion/Base/Utility/_describe +++ b/Completion/Base/Utility/_describe @@ -78,9 +78,9 @@ while _tags; do fi if [[ -n $_mats ]]; then - compadd "$_opts[@]" "$_expl[@]" -O $_strs -D $_mats -s $_strs + compadd "$_opts[@]" "${(@)_expl:/-J/-2V}" -O $_strs -D $_mats -s $_strs else - compadd "$_opts[@]" "$_expl[@]" -O $_strs -a $_strs + compadd "$_opts[@]" "${(@)_expl:/-J/-2V}" -O $_strs -a $_strs fi done set - "$_argv[@]" @@ -97,6 +97,7 @@ while _tags; do while compdescribe -g csl2 _args _tmpm _tmpd; do compstate[list]="$csl $csl2" + [[ -n "$csl2" ]] && compstate[list]="${compstate[list]:s/rows//}" compadd "$_args[@]" -d _tmpd -a _tmpm && _ret=0 done |
