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

Axel Beckert abe at debian.org
Tue Aug 11 07:54:32 UTC 2015


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 /usr/bin/clear_console ]]
>     then
>         /usr/bin/clear_console || :
>     fi

Sorry, but using /usr/bin/clear_console is a no-go for me. It's
shipped in the package "bash" and would add a dependency on bash, at
least an implicit one.

Bash is currently in the essential set, but there are long-time
endeavours to make bash non-essential:
https://wiki.debian.org/Proposals/RemoveBashFromEssential

So I won't add anything which adds a dependency on bash in the binary
packages. (I don't mind build-dependencies.)

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Pkg-zsh-devel mailing list