zlogout 264 B

12345678910111213
  1. #
  2. # Executes commands at logout.
  3. # when leaving the console clear the screen to increase privacy
  4. if [ "$SHLVL" = 1 ]; then
  5. which clear >/dev/null && clear || (which clear_console >/dev/null && clear_console -q || true)
  6. fi
  7. # Local Variables:
  8. # mode: sh
  9. # End: