summary refs log tree commit diff
path: root/Completion/Zsh/Command/_limit
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_limit')
-rw-r--r--Completion/Zsh/Command/_limit9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_limit b/Completion/Zsh/Command/_limit
new file mode 100644
index 000000000..ba384f980
--- /dev/null
+++ b/Completion/Zsh/Command/_limit
@@ -0,0 +1,9 @@
+#compdef limit
+
+if ! ((CURRENT % 2)); then
+    _limits
+elif [[ $PREFIX = u* ]]; then
+    compadd unlimited
+else
+    _message "number and scaling factor"
+fi