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 563131387FD 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 C8C55E0AD9; Sun, 30 Mar 2014 11:00:30 +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 2226EE0AD9 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 4A01633FC4E for ; Sun, 30 Mar 2014 11:00:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 661D0188F5 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: <1396175391.6082841d566be1f017b6039c58242c553412fdeb.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: 6082841d566be1f017b6039c58242c553412fdeb 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: eaae4ba3-0392-4a80-929d-3cc6e8ad7602 X-Archives-Hash: 6c27e4dfef91d5bc2cb13b8868a46b11 commit: 6082841d566be1f017b6039c58242c553412fdeb Author: Tim Harder gentoo org> AuthorDate: Sun Mar 30 10:29:51 2014 +0000 Commit: Tim Harder gentoo org> CommitDate: Sun Mar 30 10:29:51 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/zsh-completion.git;a=commit;h=6082841d _eselect: remove unused variable and fix indentation --- _eselect | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_eselect b/_eselect index 57d11a9..5d75196 100644 --- a/_eselect +++ b/_eselect @@ -9,8 +9,8 @@ common_values=( _eselect_env () { if (( $words[(I)(update)] )); then _values "update options" \ - "makelinks[force updating of links]" \ - "noldconfig[Do not alter the ld.so cache or configuration]" && return 0 + "makelinks[force updating of links]" \ + "noldconfig[Do not alter the ld.so cache or configuration]" && return 0 fi _values "env options" $common_values \ 'update[Collect environment variables from all scripts in /etc/env.d/]' && return 0 @@ -58,7 +58,7 @@ _eselect_profile () { if (( $words[(I)(set)] )); then profilelist=(${${${(M)${(f)"$(eselect --color=no profile list)"}## *}// \**/}//( \[*\] | \[*\] )/}) _values -w "available profiles" $profilelist[@] \ - "--force[Forcibly set the symlink]" && return 0 + "--force[Forcibly set the symlink]" && return 0 fi _values "profile options" $common_values \ "list[List available profile symlink targets]" \ @@ -113,7 +113,7 @@ _eselect_vi () { } _eselect () { - local globopts sedcmd modnames modopts + local globopts modnames modopts globopts=( "--colour=no[Disable coloured output]"