Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zrecompile not verbose enough on failure?
- X-seq: zsh-workers 16095
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: zrecompile not verbose enough on failure?
- Date: Sun, 21 Oct 2001 21:42:52 +0100
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Seen in zrecompile:
if { [[ ! -f $zwc ]] || mv $zwc ${zwc}.old } &&
zcompile $map $tmp $zwc $files 2> /dev/null; then
[[ -z $quiet ]] && print succeeded
else
[[ -z $quiet ]] && print failed
ret=1
fi
Why does zrecompile redirect STDERR to /dev/null when running
zcompile? It means that if you're doing something like
zrecompile ... -M -U ~/.zsh/functions.zwc ~/.zsh/functions/*(*)
then if something in ~/.zsh/functions has a syntax error, you just get
re-compiling /nfs-home/adams/.zsh/functions.zwc: failed
with no indication of which file was the culprit.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author