From: Fred Hamster Date: Sun, 16 Nov 2025 19:07:57 +0000 (-0500) Subject: updated logout script to clear console also X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=5966439d3126efd80e702a54f54ef7247ca19e7e;p=feisty_meow.git updated logout script to clear console also --- 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