Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: zsh/param/private module
- X-seq: zsh-workers 37086
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH: zsh/param/private module
- Date: Mon, 9 Nov 2015 10:15:59 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern_com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=xejYbkPJYUhkIvqbQoQTa4JvfrgZkJJShkgMjvfbeH4=; b=Kk/Qh7MHTchKCHGYpt5n9eMhEExpuB1YYfZAfJc9iu/wl/oNOflfglN5vViYeBA9ZH 2moRtHeRRDIyKgQxnj66IzkqQDYffTJWaNPhEENq+Z1d4ovStxOA89wevxZwKOBvd+pc DxJpTxav6LSnuy94zbigBNzR0D2dJr5HUxywfMkCBQ04w5GPKdigV/VQ6pNLE5lN15oU xdIU2daR+edt0biSG8P6XMkMlhyYEaJEmU/sCXr+/iMBmmmusOT0pjYlMxc0Ja4ojaCy zhGRc2etKgYZoF+RGd4xJhsPw34j2BYcHmEMGV+MQHsWxqhZ9drgIrPZWlYxuEaQGIMK i+hQ==
- In-reply-to: <20151109105853.2d4b7745@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <151108140526.ZM31353@torch.brasslantern.com> <20151109105853.2d4b7745@pwslap01u.europe.root.pri>
On Nov 9, 10:58am, Peter Stephenson wrote:
}
} This would fit in with standard practice with modules elsewhere..
} we can't guarantee how the installer has set up config.modules
} so should probably flag it as unimplemented rather than broken.
}
} + if ! (zmodload zsh/param/private >/dev/null 2>/dev/null); then
Semi-sequitur:
This is zsh. Why not >& /dev/null ?
Some tests use only 2>/dev/null, others use >/dev/null 2>&1, some use
a subshell and then repeat without one (like this patch) whereas others
simply use "if zmodload ...", etc. What's actually necessary?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author