zsh-workers
 help / color / mirror / code / Atom feed
06bcfc34cc59362f2e1eea3bafbf327afba86b7d blob 452 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
#compdef ulimit

[[ $PREFIX = u* ]] && compadd unlimited && return 0

local -a opts
setopt localoptions extendedglob

opts=(
  ${${${(fo)"$(ulimit -a)"}:#-N*}%%  *}
)
_arguments -s \
  '-H[set hard limits]' \
  '-S[set soft and hard limits (with -H)]' \
  '-N+[specify limit by number]:limit number' \
  "(-N ${(M@j: :)opts#-?} *)-a[list all current resource limits]" \
  ${opts/(#b)(-?): (*)/$match[1][$match[2]]:$match[2]} \
  '*:file size (blocks)'
debug log:

solving 06bcfc34c ...
found 06bcfc34c in https://inbox.vuxu.org/zsh-workers/20201126201431.a6ym56gcagomyvzk@chazelas.org/
found 0526821dd in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 0526821dd05a1cdc638ac935570bc859f3dc01dd	Completion/Zsh/Command/_ulimit

applying [1/1] https://inbox.vuxu.org/zsh-workers/20201126201431.a6ym56gcagomyvzk@chazelas.org/
diff --git a/Completion/Zsh/Command/_ulimit b/Completion/Zsh/Command/_ulimit
index 0526821dd..06bcfc34c 100644

Checking patch Completion/Zsh/Command/_ulimit...
Applied patch Completion/Zsh/Command/_ulimit cleanly.

index at:
100644 06bcfc34cc59362f2e1eea3bafbf327afba86b7d	Completion/Zsh/Command/_ulimit

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).