From a3677eae4affbe53430084f95b8d111a1cbd6245 Mon Sep 17 00:00:00 2001
From: Mattias Andrée <maandree@operamail.com>
Date: Sat, 12 May 2012 02:19:59 +0200
Subject: From ponysay-git in AUR by "gtmanfred" with adaption to [erkin]'s
 last push, and uninstall rutine

---
 completion/zsh-completion.zsh | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 completion/zsh-completion.zsh

(limited to 'completion')

diff --git a/completion/zsh-completion.zsh b/completion/zsh-completion.zsh
new file mode 100644
index 0000000..26116d2
--- /dev/null
+++ b/completion/zsh-completion.zsh
@@ -0,0 +1,11 @@
+#compdef ponysay
+_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)"'
+    '-W[The screen column where the message should be wrapped]'
+    )
+_arguments -s : \
+    "$_shortopts[@]"
+
-- 
cgit