From: vapniks Date: Sun, 8 Dec 2013 01:20:58 +0000 (+0000) Subject: Fix completion of config names X-Git-Tag: 1.0~145^2^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b94559c3cf880c4a8b62189f69668f1457214b6a;p=deb_pkgs%2Fautorandr.git Fix completion of config names --- diff --git a/bash_completion/autorandr b/bash_completion/autorandr index b009994..3bf6451 100644 --- a/bash_completion/autorandr +++ b/bash_completion/autorandr @@ -30,7 +30,7 @@ _autorandr () case "${prev}" in -l|--load|-d|--default) - COMPREPLY=( $( compgen -W "${prfls}" ) ) + COMPREPLY=( $( compgen -W "${prfls}" -- $cur ) ) return 0 ;; *)