about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_alias
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_alias')
-rw-r--r--Completion/Zsh/Command/_alias8
1 files changed, 8 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_alias b/Completion/Zsh/Command/_alias
new file mode 100644
index 000000000..98ae94046
--- /dev/null
+++ b/Completion/Zsh/Command/_alias
@@ -0,0 +1,8 @@
+#compdef alias
+
+_arguments -C -s -A "-*" -S \
+  '-+g[list or define global aliases]' \
+  '-+r[list or define regular aliases]' \
+  '-+m[print aliases matching specified pattern]' \
+  '-L[print each alias in the form of calls to alias]' \
+  '*::alias definition:_aliases -S ='