zsh-workers
 help / color / mirror / code / Atom feed
* Is there some postexec function?
@ 2011-07-06 15:39 Pascal Wittmann
  2011-07-06 15:48 ` Jérémie Roquet
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Pascal Wittmann @ 2011-07-06 15:39 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-07-07  3:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-06 15:39 Is there some postexec function? Pascal Wittmann
2011-07-06 15:48 ` Jérémie Roquet
2011-07-06 17:01 ` ZyX
2011-07-06 20:07 ` Bart Schaefer
2011-07-06 20:28   ` Pascal Wittmann
2011-07-07  3:27     ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).