]> git.sev.monster Git - dotfiles.git/blame - base/.zlogout
fix term error msg in .zshenv
[dotfiles.git] / base / .zlogout
CommitLineData
6d54344e 1### cleanup
2# XXX: since .zlogout isn't guaranteed to have been run in the same shell as
3# our .zprofile was (since we source it in .zshenv for SHLVL=1 among other
4# situations) we are not guaranteed to clean up our current session's tmp,
5# but it should be cleared out on next session launch
6_sev_zcleanup
7## unset vars that use our tmp since above will remove them
8unset XDG_CACHE_HOME XDG_RUNTIME_DIR
9## clean up any remaining sockets from gpg forwarding
10[[ -v _GNUPG_SOCK_DEST_BASE ]] && rm -f $_GNUPG_SOCK_DEST_BASE*(N=)
79d4a356 11
833b2af3 12if [[ -o interactive ]] {
13 echo logout
14 clear
15}
8eb81f95 16
17### load site-specific
18if [[ -f ~/.zlogout.local ]] { source ~/.zlogout.local }
19
79d4a356 20# vim: et sts=4 sw=4 ts=8 tw=79
This page took 0.034565 seconds and 4 git commands to generate.