Add missing bash logout file to setup.sh and add Vim modeline.
-# Bash logout configuration file.
+# Bash logout file.
-# When leaving the console clear the screen to increase privacy. Taken from
-# Debian default bash files. Thanks.
-if [ "$SHLVL" = 1 ]; then
- [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
-fi
+source_debug "sourcing ~/.bash/logout"
+
+# Load logout file usable by all shells.
+source_config ~/.shell "" logout
+
+source_debug "finished sourcing ~/.bash/logout"
+
+# vim: ft=sh
link bash ~/.bash
link bash/rc ~/.bashrc
link bash/profile ~/.bash_profile
+link bash/logout ~/.bash_logout
link zsh ~/.zsh
link zsh/env ~/.zshenv
link zsh/rc ~/.zshrc
--- /dev/null
+# Shell logout file usable by all shells.
+
+
+# When leaving the console clear the screen to increase privacy. Taken from
+# Debian default bash files. Thanks.
+if [ "$SHLVL" = 1 ]; then
+ [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
+fi
+
+# vim: ft=sh
-# Zsh configuration file loaded when zsh exits.
+# Zsh logout file.
-# When leaving the console clear the screen to increase privacy. Taken from
-# Debian default bash files. Thanks.
-if [ "$SHLVL" = 1 ]; then
- [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
-fi
+source_debug "sourcing ~/.zsh/logout"
+
+# Load logout file usable by all shells.
+source_config ~/.shell "" logout
+
+source_debug "finished sourcing ~/.zsh/logout"
+
+# vim: ft=zsh