Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: real time alias?
> What's 'warn_ ()'? No such command here, nor any matching file.
it was a function from the example:
warn_ () { local r=$?; print -u2 "$*"; return $r }
die_ () { local r=$?; print -u2 "$*"; exit $r }
alias warn='warn_ at $0 line $LINENO, warning:'
alias ...='{warn unimplemented; return 255}'
alias die='die_ died at $0 line $LINENO:'
regards
marc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author