aboutsummaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
authorPablo Lezaeta <prflr88@gmail.com>2012-07-04 23:30:29 -0400
committerPablo Lezaeta <prflr88@gmail.com>2012-07-04 23:30:29 -0400
commit4063e82a1512515358480b53d87223f71e0efc20 (patch)
tree37230e9108d6cfae22491d1b83cb564b5855fc8a /completion
parentaa0b3c676d3e128ee7e6c72894919adf3b7c5ff5 (diff)
downloadponysay-4063e82a1512515358480b53d87223f71e0efc20.tar.gz
ponysay-4063e82a1512515358480b53d87223f71e0efc20.tar.bz2
ponysay-4063e82a1512515358480b53d87223f71e0efc20.zip
Migration to /usr/share/ponysay/{,tty}ponies (need more reviews)
Diffstat (limited to 'completion')
-rw-r--r--completion/bash-completion.sh4
-rw-r--r--completion/zsh-completion.zsh2
2 files changed, 3 insertions, 3 deletions
diff --git a/completion/bash-completion.sh b/completion/bash-completion.sh
index 31daef2..54b50fe 100644
--- a/completion/bash-completion.sh
+++ b/completion/bash-completion.sh
@@ -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
diff --git a/completion/zsh-completion.zsh b/completion/zsh-completion.zsh
index 26116d2..07b2ebf 100644
--- a/completion/zsh-completion.zsh
+++ b/completion/zsh-completion.zsh
@@ -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 : \