Migration to /usr/share/ponysay/{,tty}ponies (need more reviews)
This commit is contained in:
parent
aa0b3c676d
commit
4063e82a15
4 changed files with 12 additions and 11 deletions
|
|
@ -10,10 +10,10 @@ _ponysay()
|
|||
if [[ $prev = "-f" ]]; then
|
||||
COMPREPLY=()
|
||||
|
||||
sysponies=/usr/share/ponies/
|
||||
sysponies=/usr/share/ponysay/ponies/
|
||||
usrponies=~/.ponies/
|
||||
if [[ $TERM = "linux" ]]; then
|
||||
sysponies=/usr/share/ttyponies/
|
||||
sysponies=/usr/share/ponysay/ttyponies/
|
||||
usrponies=~/.ttyponies/
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ _shortopts=(
|
|||
'-v[Show version and exit]'
|
||||
'-h[Show this help and exit]'
|
||||
'-l[list ponyfiles]'
|
||||
'-f[Select a pony (either a filename or a ponyname]: :_path_files -W "/usr/share/ponies" -g "*(\:r)"'
|
||||
'-f[Select a pony (either a filename or a ponyname]: :_path_files -W "/usr/share/ponysay/ponies" -g "*(\:r)"'
|
||||
'-W[The screen column where the message should be wrapped]'
|
||||
)
|
||||
_arguments -s : \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue