Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Is there some postexec function?
- X-seq: zsh-workers 29532
- From: Pascal Wittmann <PascalWittmann@xxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Is there some postexec function?
- Date: Wed, 06 Jul 2011 17:39:43 +0200
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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