diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-09-27 19:06:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-09-27 19:06:35 -0300 |
commit | 06cb5c8c45abd9da0dc9860c9a7fe62f74ca509b (patch) | |
tree | 76b6d0939f0d209e5d7b0f063238db4bec1bb74f /lib/keyringer/completions/zsh | |
parent | 3cb5e902e45d297ee2386c8a76c99f12fed99d15 (diff) | |
download | keyringer-06cb5c8c45abd9da0dc9860c9a7fe62f74ca509b.tar.gz keyringer-06cb5c8c45abd9da0dc9860c9a7fe62f74ca509b.tar.bz2 |
Use 'ls --color=never' on shell completions
Diffstat (limited to 'lib/keyringer/completions/zsh')
-rw-r--r-- | lib/keyringer/completions/zsh/_keyringer | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/keyringer/completions/zsh/_keyringer b/lib/keyringer/completions/zsh/_keyringer index c8ada9b..6059697 100644 --- a/lib/keyringer/completions/zsh/_keyringer +++ b/lib/keyringer/completions/zsh/_keyringer @@ -19,7 +19,7 @@ _keyringer() { fi # Process config - local keyrings="`ls $config | sed -e 's/config//'`" + local keyrings="`ls --color=never $config | sed -e 's/config//'`" source $config/config keyring_path="`eval echo '$'$words[2]`" @@ -62,7 +62,7 @@ _keyringer() { misc) case "$words[3]" in recipients) - compadd "$@" $(cd $keyring_path/config/recipients && ls -p $words[5]* 2> /dev/null) + compadd "$@" $(cd $keyring_path/config/recipients && ls --color=never -p $words[5]* 2> /dev/null) ;; genpair) # TODO: do not rely on bash |