# HG changeset patch # User Oleksandr Gavenko # Date 1333475243 -10800 # Node ID 11e6e7e70fa0360442903e8978ff8f9affc76a2a # Parent 27b778ebe490d166bbc29810eb266f4ac6245db5# Parent d0201811d371163b26460e601165fc7c6ba54b36 merged diff -r 27b778ebe490 -r 11e6e7e70fa0 .bash_completion --- 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