From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F20E41387FD for ; Sun, 30 Mar 2014 11:00:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5EE04E0ADA; Sun, 30 Mar 2014 11:00:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9FC4E0ADC for ; Sun, 30 Mar 2014 11:00:30 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 14D2133F900 for ; Sun, 30 Mar 2014 11:00:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 9B29D188F7 for ; Sun, 30 Mar 2014 11:00:26 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1396176837.6168d1691081c4566fe1ba9903dba0d163b1efcc.radhermit@gentoo> Subject: [gentoo-commits] proj/zsh-completion:master commit in: / X-VCS-Repository: proj/zsh-completion X-VCS-Files: _eselect X-VCS-Directories: / X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 6168d1691081c4566fe1ba9903dba0d163b1efcc X-VCS-Branch: master Date: Sun, 30 Mar 2014 11:00:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b3edd0cd-b0cf-4d2a-8648-5635a885a64d X-Archives-Hash: 5a90551360bcb84132364b44a0c9cdf8 commit: 6168d1691081c4566fe1ba9903dba0d163b1efcc Author: Tim Harder gentoo org> AuthorDate: Sun Mar 30 10:53:57 2014 +0000 Commit: Tim Harder gentoo 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