author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 03 Apr 2012 20:47:23 +0300 | |
changeset 321 | 11e6e7e70fa0 |
parent 316 | 27b778ebe490 (current diff) |
parent 319 | d0201811d371 (diff) |
child 322 | 55fd28f90c4d |
--- a/.bash_completion Sat Mar 10 11:58:01 2012 +0200 +++ b/.bash_completion Tue Apr 03 20:47:23 2012 +0300 @@ -1,3 +1,4 @@ +# -*- mode: shell-script -*- # user commands see only users complete -u su passwd write chfn groups slay w sux @@ -62,8 +63,8 @@ return 0 fi local i j k + k=0 for i in ${CDPATH//:/$'\n'}; do - k="${#COMPREPLY[@]}" for j in $( compgen -d -- $i/$cur ); do COMPREPLY[k++]=${j#$i/} done