dotfiles/bash/bash_logout
c47 a5c7dc600b Add basic bash startup files and set-links.sh
* bash
    Added basic bash startup files, with basic needed settings and
    possibility to source .bash*.local files for adding local
    configs without adding them to the git repo.

* set-links.sh
    A simple shell script to put symlinks in ${HOME} and
    ${XDG_CONFIG_HOME} and such.
2024-01-13 17:58:33 +01:00

8 lines
220 B
Bash

# ~/.bash_logout: executed by bash(1) when login shell exits.
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi