m manuals

This commit is contained in:
Mattias Andrée 2012-07-19 18:26:19 +02:00
parent ecd2e98242
commit 5f672bb9f7
3 changed files with 6 additions and 6 deletions

View file

@ -17,10 +17,10 @@ _ponysay()
COMPREPLY=()
sysponies=/usr/share/ponysay/ponies/
usrponies=~/.ponies/
usrponies=~/.local/share/ponysay/ponies/
if [[ $TERM = "linux" ]]; then
sysponies=/usr/share/ponysay/ttyponies/
usrponies=~/.ttyponies/
usrponies=~/.local/share/ponysay/ttyponies/
fi
if [[ -d $sysponies ]]; then

View file

@ -6,11 +6,11 @@
if test -d /usr/share/ponysay/ponies/
set -g systemponies (ls /usr/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from \/usr\/share\/ponysay\/ponies\//')
set -g systemponies (ls --color=no /usr/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from \/usr\/share\/ponysay\/ponies\//')
end
if test -d ~/.local/share/ponysay/ponies/
set -g homeponies (ls ~/.local/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from ~\/.local\/share\/ponysay\/ponies\//')
set -g homeponies (ls --color=no ~/.local/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from ~\/.local\/share\/ponysay\/ponies\//')
end
complete -c ponysay -s h --description "Help of ponysay"

View file

@ -6,11 +6,11 @@
if test -d /usr/share/ponysay/ponies/
set -g systemponies (ls /usr/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from \/usr\/share\/ponysay\/ponies\//')
set -g systemponies (ls --color=no /usr/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from \/usr\/share\/ponysay\/ponies\//')
end
if test -d ~/.local/share/ponysay/ponies/
set -g homeponies (ls ~/.local/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from ~\/.local\/share\/ponysay\/ponies\//')
set -g homeponies (ls --color=no ~/.local/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from ~\/.local\/share\/ponysay\/ponies\//')
end
complete -c ponythink -s h --description "Help of ponythink"