diff options
author | David Paleino <dapal@debian.org> | 2012-01-08 00:19:18 +0100 |
---|---|---|
committer | David Paleino <dapal@debian.org> | 2012-01-08 00:19:18 +0100 |
commit | c3d398fcc6e400be546c28eb1fc25abfa5816eac (patch) | |
tree | 3266a00f1037eb5522f1f8bf1a73e443ab2c26c4 /completions/apt-cache | |
parent | 2c8171c38d87ddef31c92a76547d3fdf773a1337 (diff) | |
download | bash-completion-c3d398fcc6e400be546c28eb1fc25abfa5816eac.tar.gz |
Imported Upstream version 1.99upstream/1.99
Diffstat (limited to 'completions/apt-cache')
-rw-r--r-- | completions/apt-cache | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/apt-cache b/completions/apt-cache index 00b41478..3e2ca0db 100644 --- a/completions/apt-cache +++ b/completions/apt-cache @@ -6,7 +6,7 @@ _apt_cache() _init_completion || return local special i - if [ "$cur" != show ]; then + if [[ $cur != show ]]; then for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} == @(add|depends|dotty|madison|policy|rdepends|show?(pkg|src|)) ]]; then special=${words[i]} @@ -15,7 +15,7 @@ _apt_cache() fi - if [ -n "$special" ]; then + if [[ -n $special ]]; then case $special in add) _filedir |