[Pkg-zsh-devel] Bug#794968: zsh: please clear console on logout (if recommended config is used)
Frank Terbeck
ft at bewatermyfriend.org
Sat Aug 8 21:51:23 UTC 2015
Carsten Hey wrote:
> Please clear console on logout if the recommended config for new users
> is used.
I think this should be doable with a zshexit hook like this:
function debian_clear_upon_exit () {
clear
}
add-zsh-hook zshexit debian_clear_upon_exit
That hook could be installed in the recommended setup file.
Disclaimer: I didn't try this. :-)
Regards, Frank
More information about the Pkg-zsh-devel
mailing list