aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-03-30 03:29:51 -0700
committerTim Harder <radhermit@gentoo.org>2014-03-30 03:29:51 -0700
commit6082841d566be1f017b6039c58242c553412fdeb (patch)
treec5cf66ada62526b368fd820950dcf73fb767c4bf
parent_eselect: fix minor spelling and indentation issues (diff)
downloadzsh-completion-6082841d566be1f017b6039c58242c553412fdeb.tar.gz
zsh-completion-6082841d566be1f017b6039c58242c553412fdeb.tar.bz2
zsh-completion-6082841d566be1f017b6039c58242c553412fdeb.zip
_eselect: remove unused variable and fix indentation
-rw-r--r--_eselect8
1 files 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]"