Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

May as well add my logout file here.

Although presently it's just the Debian default.
  • Loading branch information...
commit da90b9036e4d23d90fc9bab92c3db1fefaa99909 1 parent 7b2b20c
@tejr authored
Showing with 6 additions and 0 deletions.
  1. +5 −0 bash/bash_logout
  2. +1 −0  install.sh
View
5 bash/bash_logout
@@ -0,0 +1,5 @@
+# Clear screen when leaving console.
+if [ "$SHLVL" = 1 ]; then
+ [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
+fi
+
View
1  install.sh
@@ -8,6 +8,7 @@ cd "${OLDPWD}"
# Link in files, replacing whatever's already there.
ln -fs ".dotfiles/bash/bashrc" "${HOME}/.bashrc"
ln -fs ".dotfiles/bash/bash_profile" "${HOME}/.bash_profile"
+ln -fs ".dotfiles/bash/bash_logout" "${HOME}/.bash_logout"
ln -fs ".dotfiles/git/gitconfig" "${HOME}/.gitconfig"
ln -fs ".dotfiles/tmux/tmux.conf" "${HOME}/.tmux.conf"
ln -fs ".dotfiles/vim/vimrc" "${HOME}/.vimrc"

0 comments on commit da90b90

Please sign in to comment.
Something went wrong with that request. Please try again.