X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.bash_logout;h=ee262d25fa0e592f90074284e5845535ae827cf0;hp=4c880fdf932a798ea0162e27409fb023fa4ebe95;hb=9a66d4531e7d0d015b38be0b38f1c379a45fd03f;hpb=97f8a1818926af6a2ba55d64b6631194a0cba129 diff --git a/.bash_logout b/.bash_logout index 4c880fd..ee262d2 100644 --- a/.bash_logout +++ b/.bash_logout @@ -1,12 +1,7 @@ # ~/.bash_logout: executed by bash(1) when login shell exits. -# Clean up python virtual environment on exit -# See https://virtualenvwrapper.readthedocs.io/en/latest/tips.html#clean-up-environments-on-exit - -[ "$VIRTUAL_ENV" ] && deactivate - # when leaving the console clear the screen to increase privacy if [ "$SHLVL" = 1 ]; then - [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q + [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q || clear fi