Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ulimit "command not found" when run from a script on NetBSD
- X-seq: zsh-users 9432
- From: Vincent Stemen <zsh@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: ulimit "command not found" when run from a script on NetBSD
- Date: Tue, 20 Sep 2005 19:30:26 -0500
- In-reply-to: <1050920155755.ZM9524@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050919192129.GA23976@xxxxxxxxxxxxxxxxx> <1050920020712.ZM8701@xxxxxxxxxxxxxxxxxxxxxxx> <200509200654.58805.arvidjaar@xxxxxxxxxx> <20050920145440.GA3153@xxxxxxxxxxxxxxxxx> <1050920155755.ZM9524@xxxxxxxxxxxxxxxxxxxxxxx>
On Tue, Sep 20, 2005 at 03:57:55PM +0000, Bart Schaefer wrote:
> On Sep 20, 9:54am, Vincent Stemen wrote:
> } Subject: Re: ulimit "command not found" when run from a script on NetBSD
> }
> } Is this something that can be easily corrected in zsh?
>
> Most immediately, you can put
>
> zmodload -ab -i zsh/rlimits ulimit
>
> into /etc/zshrc.
>
> Longer-term, the developers need to get the equivalent of that into
> the (auto-generated) Src/bltinmods.list file.
Thanks Bart.
That worked fine. I had to put it in the sh environment script
specified by $ENV, rather than /etc/zshrc, since zsh does not read
/etc/zshrc when run as sh. I just though I would note that for anybody
else who might encounter this issue.
BTW, is there any particular reason there is no mention of the rlimits
module in the manual. I did not find it when I searched zshall(1). It
does cover ulimit under the build-in commands section.
Regards,
Vincent
Messages sorted by:
Reverse Date,
Date,
Thread,
Author