diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2002-11-22 12:05:26 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2002-11-22 12:05:26 +0000 |
commit | b71ba061fb5ce1f04416248b64fb839d5b03da9c (patch) | |
tree | 2bf86f934d8234a3d85a5359dc03f0b718b63e02 /Completion/Zsh | |
parent | 9671d37b55f32e3958a3ba3d2f74651347a31219 (diff) | |
download | zsh-b71ba061fb5ce1f04416248b64fb839d5b03da9c.tar.gz zsh-b71ba061fb5ce1f04416248b64fb839d5b03da9c.tar.xz zsh-b71ba061fb5ce1f04416248b64fb839d5b03da9c.zip |
merge changes from 4.1 branch
Diffstat (limited to 'Completion/Zsh')
-rw-r--r-- | Completion/Zsh/Command/_ulimit | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_ulimit b/Completion/Zsh/Command/_ulimit new file mode 100644 index 000000000..0526821dd --- /dev/null +++ b/Completion/Zsh/Command/_ulimit @@ -0,0 +1,19 @@ +#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)' \ + '-u[processes available to the user]:processes' \ + '-v[maximum size of virtual memory]:maximum size of virtual memory (K-bytes)' \ + '*:size of largest file allowed' |