about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Function/_zcalc7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completion/Zsh/Function/_zcalc b/Completion/Zsh/Function/_zcalc
new file mode 100644
index 000000000..a4b1e9701
--- /dev/null
+++ b/Completion/Zsh/Function/_zcalc
@@ -0,0 +1,7 @@
+#compdef zcalc
+
+_arguments -s -w -S : \
+  '-#[Specify default base]:base: ' \
+  '-f[Force floating point for all expressions]' \
+  '-e[Treat command line as expressions to be output immediately]' \
+  '*:Expression: '