changeset 552 | 1f489f80b389 |
parent 318 | 68363fe03ae4 |
child 553 | 50b46df6ca28 |
--- a/.bash_completion Fri Sep 21 17:45:37 2012 +0300 +++ b/.bash_completion Sat Sep 22 09:45:29 2012 +0300 @@ -143,7 +143,7 @@ opt=${COMP_WORDS[1]} case $opt in -c|--check-setup|-l|--list-package) - pkgs=( /etc/setup/*.lst.gz ) + local pkgs=( /etc/setup/*.lst.gz ) pkgs=( ${pkgs[@]##*/} ) pkgs=( ${pkgs[@]%.lst.gz} ) COMPREPLY=( $(compgen -W '${pkgs[@]}' -- $cur ) )