about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_ulimit
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-04-03 21:13:10 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-04-03 21:13:10 +0000
commitda0179bfb22bff9f159e4a7c76e0f810e84d0b4a (patch)
tree480a029dcc96488a02deba49ae173310407f4761 /Completion/Zsh/Command/_ulimit
parent6150ef8696a3081772122743eb650d8449d4f7a3 (diff)
downloadzsh-da0179bfb22bff9f159e4a7c76e0f810e84d0b4a.tar.gz
zsh-da0179bfb22bff9f159e4a7c76e0f810e84d0b4a.tar.xz
zsh-da0179bfb22bff9f159e4a7c76e0f810e84d0b4a.zip
new completion functions
Diffstat (limited to 'Completion/Zsh/Command/_ulimit')
-rw-r--r--Completion/Zsh/Command/_ulimit17
1 files changed, 17 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_ulimit b/Completion/Zsh/Command/_ulimit
new file mode 100644
index 000000000..22a829aea
--- /dev/null
+++ b/Completion/Zsh/Command/_ulimit
@@ -0,0 +1,17 @@
+#compdef ulimit
+
+[[ $PREFIX = u* ]] && compadd unlimited && return 0
+
+_arguments -s \
+  '-H[set hard limits]' \
+  '-S[set soft and hard limits (with -H)]' \
+  '(-H -S -c -d -f -l -m -n -s -t *)-a[list all current resource limits]' \
+  '-c[core dump size limit]:max core dump size (512-byte blocks)' \
+  '-d[maximum size of data segment]:maximum size of data segment (K-bytes)' \
+  '-f[size of largest file allowed]:size of largest file allowed (512-byte blocks)' \
+  '-l[maximum size of locked in memory]:maximum size of locked in memory (K-bytes)' \
+  '-m[maximum size of physical memory]:maximum size of physical memory (K-bytes)' \
+  '-n[maximum no. of open file descriptors]:maximum no. of open file descriptors' \
+  '-s[stack size limit]:stack size limit (K-bytes)' \
+  '-t[maximum cpu time per process]:maximum cpu time per process (seconds)' \
+  '*:size of largest file allowed'