Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: zsh/param/private module



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