aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/completion/_aur
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-07-13 23:20:36 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-07-13 23:20:36 +0200
commit33341730705889167c7b5feac669add7e5280972 (patch)
tree65b8065688e8fb788fe4d9a9df29eef175d2e1cd /zsh/completion/_aur
parentaa87b637f2bb00187b9bcdacfe3a6bd3c20834c8 (diff)
downloaddotfiles-33341730705889167c7b5feac669add7e5280972.tar.xz
zsh: Add custom completions
Diffstat (limited to 'zsh/completion/_aur')
-rw-r--r--zsh/completion/_aur4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/completion/_aur b/zsh/completion/_aur
new file mode 100644
index 0000000..83a359c
--- /dev/null
+++ b/zsh/completion/_aur
@@ -0,0 +1,4 @@
+#compdef aur-push aur-pull
+
+_arguments \
+ "1: :($(git for-each-ref --format='%(refname:short)' refs/heads))"