From 5966439d3126efd80e702a54f54ef7247ca19e7e Mon Sep 17 00:00:00 2001 From: Fred Hamster Date: Sun, 16 Nov 2025 14:07:57 -0500 Subject: [PATCH] updated logout script to clear console also --- infobase/examples/bashisms/dot.bash_logout | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/infobase/examples/bashisms/dot.bash_logout b/infobase/examples/bashisms/dot.bash_logout index c01a5ffd..45052d78 100644 --- a/infobase/examples/bashisms/dot.bash_logout +++ b/infobase/examples/bashisms/dot.bash_logout @@ -1,7 +1,12 @@ -# runs the nechung oracle program at exit from bash. +# on exit, clear the console for privacy. +if [ "$SHLVL" = 1 ]; then + [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q +fi + +# runs the nechung oracle program at exit from bash. sep 79 -$FEISTY_MEOW_GENERATED_STORE/runtime/binaries/nechung +$FEISTY_MEOW_GENERATED_STORE/runtime/binaries/nechung echo sleep 1 -- 2.34.1