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

status and pipestatus



I'd like to use status and pipestatus special parameters in a precmd
hook. There are cases where status gets updated between two precmd
invocations but pipestatus doesn't. In such cases I don't want to use
pipestatus. In other words, I want to use pipestatus if and only if it
corresponds to the same command from which status was derived. Is this
possible?

Roman.



Messages sorted by: Reverse Date, Date, Thread, Author