author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 19 Mar 2012 11:34:59 +0200 | |
changeset 319 | d0201811d371 |
parent 315 | c15b2b668c00 (current diff) |
parent 318 | 68363fe03ae4 (diff) |
child 320 | 41ecbdd53c3e |
child 321 | 11e6e7e70fa0 |
--- a/.bash_completion Sat Feb 18 15:08:56 2012 +0200 +++ b/.bash_completion Mon Mar 19 11:34:59 2012 +0200 @@ -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