]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - bash_completion/autorandr
Fix completion of config names
[deb_pkgs/autorandr.git] / bash_completion / autorandr
index b00999452fdb4d4cb1b73ebc1ece66793858cccd..3bf64511f8e711d89485a6073ece26999ce0f2f3 100644 (file)
@@ -30,7 +30,7 @@ _autorandr ()
 
        case "${prev}" in
                -l|--load|-d|--default)
-                       COMPREPLY=( $( compgen -W "${prfls}" ) )
+                       COMPREPLY=( $( compgen -W "${prfls}" -- $cur ) )
                        return 0
                        ;;
                *)