aboutsummaryrefslogtreecommitdiff
path: root/completion/zsh-completion.zsh
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-10-27 22:50:17 +0200
committerMattias Andrée <maandree@operamail.com>2012-10-27 22:50:17 +0200
commit4d27b0a8733980577811ff79ca217a11c5c15ac6 (patch)
treecf6d2faeaff8e3c1297a714bd408647b30920598 /completion/zsh-completion.zsh
parent994b19712a5f9fb1cb870ebd4f583e05a08f1c32 (diff)
downloadponysay-4d27b0a8733980577811ff79ca217a11c5c15ac6.tar.gz
ponysay-4d27b0a8733980577811ff79ca217a11c5c15ac6.tar.bz2
ponysay-4d27b0a8733980577811ff79ca217a11c5c15ac6.zip
wrapping options from issue #108
Diffstat (limited to 'completion/zsh-completion.zsh')
-rw-r--r--completion/zsh-completion.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/completion/zsh-completion.zsh b/completion/zsh-completion.zsh
index 68487bd..ec00594 100644
--- a/completion/zsh-completion.zsh
+++ b/completion/zsh-completion.zsh
@@ -1,3 +1,4 @@
+# zsh completion for ponysay -*- shell-script -*-
#compdef ponysay ponythink
_opts=(
'(--version -v)'{-v,--version}'[Show version and exit]'
@@ -9,7 +10,7 @@ _opts=(
'(-B --balloonlist)'{-B,--balloonlist}'[list balloon style names]'
'(-b --ballon)'{-b,--balloon}'[Selecy a balloon style]: :_path_files -W '/usr/share/ponysay/balloons' -g "*(\:r)"'
'(-c --compact)'{-c,--compat}'[Compress messages.]'
- '(-W --wrap)'{-W,--wrap}'[The screen column where the message should be wrapped]'
+ '(-W --wrap)'{-W,--wrap}'[The screen column where the message should be wrapped]' # TODO arguments `none` and `inherit` should be suggested
)
_tty_select=(
'(-q --quite)'{-q,--quote}'[Select ponies for MLP:FiM quotes]: :_path_files -W '/usr/share/ponysay/ttyponies' -g "*(\:r)"'