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

Is there some postexec function?



Hi,

I wonder whether there exists a postexec function, a function that is
called, after a command is executed. I need something like that, because
I'm trying to print (redraw the prompt) the exit code of a program in
the prompt where it was called.

I've found some references¹ to such a function, but they didn't worked
on my system. I'm using zsh 4.3.12.


Thanks for your help,
Pascal Wittmann


[1] https://gist.github.com/47474



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