This commit is contained in:
Mattias Andrée 2012-07-15 01:15:58 +02:00
parent 24f52c0e31
commit 49b4ff921d
160 changed files with 3280 additions and 3280 deletions

View file

@ -18,10 +18,10 @@ _ponysay()
fi
if [[ -d $sysponies ]]; then
COMPREPLY+=( $( compgen -W "$(ls $sysponies | sed -e 's/.pony//g')" -- "$cur" ) )
COMPREPLY+=( $( compgen -W "$(ls --color=no $sysponies | sed -e 's/.pony//g')" -- "$cur" ) )
fi
if [[ -d $usrponies ]]; then
COMPREPLY+=( $( compgen -W "$(ls $usrponies | sed -e 's/.pony//g')" -- "$cur" ) )
COMPREPLY+=( $( compgen -W "$(ls --color=no $usrponies | sed -e 's/.pony//g')" -- "$cur" ) )
fi
elif [[ $prev = "-W" ]]; then
cols=$( echo `tput cols` - 10 | bc )