]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Fixed bash-completion (Lacked an `else')
authorPhillip Berndt <phillip.berndt@googlemail.com>
Mon, 9 Feb 2015 07:15:13 +0000 (08:15 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Mon, 9 Feb 2015 07:15:13 +0000 (08:15 +0100)
bash_completion/autorandr

index caa6b90b82e257c82efa2d78d670c22f0db3d49b..7a8b81b5dc4d0714619c5e3bbdd760d78ba20dd3 100644 (file)
@@ -12,7 +12,7 @@ _autorandr ()
        lopts="--help --change --save --load --default --force --fingerprint --config --dry-run"
        if [ -d ~/.autorandr ]; then
                prfls="`find ~/.autorandr/* -maxdepth 1 -type d -printf '%f\n'`"
-       if [ -d ~/.config/autorandr ]; then
+       elif [ -d ~/.config/autorandr ]; then
                prfls="`find ~/.config/autorandr/* -maxdepth 1 -type d -printf '%f\n'`"
        else
                prfls=""