diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-11-01 15:41:40 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-11-01 15:41:40 +0000 |
commit | 6a75b3c0c59a8d6fc6718acaaffada3503611dd8 (patch) | |
tree | 569135ed437a633f9965481ea82b5d446b5cd269 /Completion/Zsh/Command/_limit | |
parent | af711a4dfc57fff491fe8ca3cdeb47e020f2e7c3 (diff) | |
download | zsh-6a75b3c0c59a8d6fc6718acaaffada3503611dd8.tar.gz zsh-6a75b3c0c59a8d6fc6718acaaffada3503611dd8.tar.xz zsh-6a75b3c0c59a8d6fc6718acaaffada3503611dd8.zip |
16197: `limit' accepts `unlimited'.
Diffstat (limited to 'Completion/Zsh/Command/_limit')
-rw-r--r-- | Completion/Zsh/Command/_limit | 9 |
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 |