Bug#794968: [Pkg-zsh-devel] Bug#794968: zsh: please clear console on logout (if recommended config is used)

2015-08-11 Thread Axel Beckert
Hi Carsten, Carsten Hey wrote: Without the GPL'd trivial check of being a subshell - i.e., this test needs to be added before it can be shipped, a ~/.zlogout could look like this: if [[ -z ${SSH_CONNECTION-}${TMUX-}${debian_chroot-} ]] [[ ${0##*/} != (-su|su) -x

Bug#794968: zsh: please clear console on logout (if recommended config is used)

2015-08-10 Thread Carsten Hey
* Carsten Hey [2015-08-09 18:05 +0200]: Pasting the code that would be part of the recommended .zlogout could help to clarify some things, but there's still a GPL'd triviality in it. Without the GPL'd trivial check of being a subshell - i.e., this test needs to be added before it can be

Bug#794968: zsh: please clear console on logout (if recommended config is used)

2015-08-09 Thread Carsten Hey
Hi Axel, * Axel Beckert [2015-08-09 16:57 +0200]: Carsten Hey wrote: * Axel Beckert [2015-08-09 16:12 +0200]: Carsten Hey wrote: Please clear console on logout if the recommended config for new users is used. ... Ok, thanks for the clarification. I'm mostly annoyed by such

Bug#794968: zsh: please clear console on logout (if recommended config is used)

2015-08-09 Thread Axel Beckert
Hi Carsten, Carsten Hey wrote: * Axel Beckert [2015-08-09 16:12 +0200]: Carsten Hey wrote: Please clear console on logout if the recommended config for new users is used. Why? This is a very annoying behaviour IMHO and definitely shouldn't be a default. at first we should make

Bug#794968: zsh: please clear console on logout (if recommended config is used)

2015-08-09 Thread Axel Beckert
Hi, Carsten Hey wrote: Please clear console on logout if the recommended config for new users is used. Why? This is a very annoying behaviour IMHO and definitely shouldn't be a default. If a user wants to have such a behaviour because he considers to be a security feature (I don't), the user

Bug#794968: zsh: please clear console on logout (if recommended config is used)

2015-08-09 Thread Carsten Hey
Hi Axel, * Axel Beckert [2015-08-09 16:12 +0200]: Carsten Hey wrote: Please clear console on logout if the recommended config for new users is used. Why? This is a very annoying behaviour IMHO and definitely shouldn't be a default. at first we should make sure that you are talking about

Bug#794968: zsh: please clear console on logout (if recommended config is used)

2015-08-08 Thread Carsten Hey
Package: zsh Severity: wishlist There are more important things that involve less work to do, therefore this is intended as a low priority wishlist bug. Please clear console on logout if the recommended config for new users is used. This requires: * a console_clear (currently part of the bash

Bug#794968: zsh: please clear console on logout (if recommended config is used)

2015-08-08 Thread Frank Terbeck
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

Bug#794968: zsh: please clear console on logout (if recommended config is used)

2015-08-08 Thread Carsten Hey
* Frank Terbeck [2015-08-08 23:51 +0200]: 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