diff options
author | Tim Harder <radhermit@gentoo.org> | 2014-03-30 03:53:57 -0700 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2014-03-30 03:53:57 -0700 |
commit | 6168d1691081c4566fe1ba9903dba0d163b1efcc (patch) | |
tree | c5240bca21ec8b0070ee541d1d072a140505ff62 | |
parent | _eselect: use --brief option to simplify value parsing (diff) | |
download | zsh-completion-6168d1691081c4566fe1ba9903dba0d163b1efcc.tar.gz zsh-completion-6168d1691081c4566fe1ba9903dba0d163b1efcc.tar.bz2 zsh-completion-6168d1691081c4566fe1ba9903dba0d163b1efcc.zip |
_eselect: escape colons in profile list
Zsh uses colons in completion values to separate field names and values
so the profiles with unescaped colons don't show up for completion.
-rw-r--r-- | _eselect | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ _eselect_ctags () { _eselect_profile () { local profilelist if (( $words[(I)(set)] )); then - profilelist=(${(f)"$(eselect --brief --color=no profile list)"}) + profilelist=(${${(f)"$(eselect --brief --color=no profile list)"}/:/\\:}) _values -w "available profiles" $profilelist[@] \ "--force[Forcibly set the symlink]" && return 0 fi |