On 1/21/2021 1:30 PM, Takashi Yano via Cygwin wrote:
On Thu, 21 Jan 2021 13:13:56 -0500
Ken Brown wrote:
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear ] && /usr/bin/clear
fi
That should be the culprit.
Is editing /etc/bash.bash_logout the right thing?
That's what I do. The only caveat is that once you edit that file, it will
never be updated by setup again. So if there's a new release of base-files, you
should compare /etc/bash.bash_logout with /etc/defaults/etc/bash.bash_logout to
see if there are any changes that you want to pick up.
Ken
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple