commit: 6168d1691081c4566fe1ba9903dba0d163b1efcc
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 30 10:53:57 2014 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sun Mar 30 10:53:57 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/zsh-completion.git;a=commit;h=6168d169
_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.
---
_eselect | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_eselect b/_eselect
index 702bf4c..ae105d5 100644
--- a/_eselect
+++ b/_eselect
@@ -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