Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Default compctls
- X-seq: zsh-workers 1543
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- Subject: Re: Default compctls
- Date: Sat, 6 Jul 1996 13:01:55 -0700
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: Zefram <A.Main@xxxxxxxxxxxxxxxxx> "Re: Default compctls" (Jul 6, 7:38pm)
- References: <16887.199607061838@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: schaefer@xxxxxxx
On Jul 6, 7:38pm, Zefram wrote:
} Subject: Re: Default compctls
}
} There's already a list of signals available. $signals[2,-3] is the
} list of signals you can actually send to a process. $signals itself is
} the list of trappable `signals'. I think there's room for a $limits
} array, though.
Something on another thread led me to think of this:
limits=("${${(f)$(limit)}%% *}")
compctl -k limits limit
Or more briefly:
compctl -k "(${(f)${(f)$(limit)}%% *})" limit
Note the extra (f) in the second form.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.nbn.com/people/lantern
New male in /home/schaefer:
>N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author