diff options
author | Tim Harder <radhermit@gentoo.org> | 2014-03-30 03:29:51 -0700 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2014-03-30 03:29:51 -0700 |
commit | 6082841d566be1f017b6039c58242c553412fdeb (patch) | |
tree | c5cf66ada62526b368fd820950dcf73fb767c4bf | |
parent | _eselect: fix minor spelling and indentation issues (diff) | |
download | zsh-completion-6082841d566be1f017b6039c58242c553412fdeb.tar.gz zsh-completion-6082841d566be1f017b6039c58242c553412fdeb.tar.bz2 zsh-completion-6082841d566be1f017b6039c58242c553412fdeb.zip |
_eselect: remove unused variable and fix indentation
-rw-r--r-- | _eselect | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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]" |