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

Re: any way to get post command hook



On 10/17/2015 02:01 AM, covici@xxxxxxxxxxxxxx wrote:
> Hi.  I have some commands which mess up my tty modes, so I would like to
> have zsh issue an stty command after each command to change them back to
> normal -- any way to do this?  I see something about a pre command hook,
> but nothing about a post command hook, which seems to be what I need.
> 
> Thanks in advance for any suggestions.
> 
precmd() runs after commands, before your prompt is drawn.
ttyctl -f may also be of use in this particular case.



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