projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e1bc8
)
updated logout script to clear console also
author
Fred Hamster
<fred@gruntose.com>
Sun, 16 Nov 2025 19:07:57 +0000
(14:07 -0500)
committer
Fred Hamster
<fred@gruntose.com>
Sun, 16 Nov 2025 19:07:57 +0000
(14:07 -0500)
infobase/examples/bashisms/dot.bash_logout
patch
|
blob
|
history
diff --git
a/infobase/examples/bashisms/dot.bash_logout
b/infobase/examples/bashisms/dot.bash_logout
index c01a5ffda585f1930858c698c3b4dcbf79adcbfe..45052d780c4970e3e91eb1bcd13148936ff89486 100644
(file)
--- 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