mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-26 14:18:00 +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=()
|
COMPREPLY=()
|
||||||
|
|
||||||
sysponies=/usr/share/ponysay/ponies/
|
sysponies=/usr/share/ponysay/ponies/
|
||||||
usrponies=~/.ponies/
|
usrponies=~/.local/share/ponysay/ponies/
|
||||||
if [[ $TERM = "linux" ]]; then
|
if [[ $TERM = "linux" ]]; then
|
||||||
sysponies=/usr/share/ponysay/ttyponies/
|
sysponies=/usr/share/ponysay/ttyponies/
|
||||||
usrponies=~/.ttyponies/
|
usrponies=~/.local/share/ponysay/ttyponies/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -d $sysponies ]]; then
|
if [[ -d $sysponies ]]; then
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
|
|
||||||
if test -d /usr/share/ponysay/ponies/
|
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
|
end
|
||||||
|
|
||||||
if test -d ~/.local/share/ponysay/ponies/
|
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
|
end
|
||||||
|
|
||||||
complete -c ponysay -s h --description "Help of ponysay"
|
complete -c ponysay -s h --description "Help of ponysay"
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
|
|
||||||
if test -d /usr/share/ponysay/ponies/
|
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
|
end
|
||||||
|
|
||||||
if test -d ~/.local/share/ponysay/ponies/
|
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
|
end
|
||||||
|
|
||||||
complete -c ponythink -s h --description "Help of ponythink"
|
complete -c ponythink -s h --description "Help of ponythink"
|
||||||
|
|
Loading…
Reference in a new issue