Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is there some postexec function?
- X-seq: zsh-workers 29533
- From: Jérémie Roquet <arkanosis@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Is there some postexec function?
- Date: Wed, 6 Jul 2011 17:48:24 +0200
- Cc: Pascal Wittmann <PascalWittmann@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=lcEXmWeQXwL0SFIucFbQTQu8yXDY3oYyCAHKyf6Yu2c=; b=dfkPWqw0tBRRjI+NtDPl+fzCcFQZzHvEiyzUkyZJIFDLfLWM3Rtyh7YRkvqTCt7ABo hpOyE9YWP7jYlncgj/Wbe5nduDCBbo6bUt7OdTrtMr4aPLTuhS2SDD6CL4LXWTPuZaG5 TFpQHBlxz4+E84LeZWhXECH33hWIvc003GmM8=
- In-reply-to: <4E1481BF.3060008@gmx.net>
- 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
- References: <4E1481BF.3060008@gmx.net>
Hi,
2011/7/6 Pascal Wittmann <PascalWittmann@xxxxxxx>:
> 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.
precmd is called before the next prompt is drawn, does it the trick?
Best regards,
--
Jérémie
Messages sorted by:
Reverse Date,
Date,
Thread,
Author