mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 12:27:59 +01:00
m manuals
This commit is contained in:
parent
ecd2e98242
commit
5f672bb9f7
3 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue