]> git.sev.monster Git - dotfiles.git/blobdiff - etc/zsh/.zlogout
zsh: update aliases
[dotfiles.git] / etc / zsh / .zlogout
index 1ede4c5be33f32e07b9c587a83e4dc4b7c921e90..c0054214f1762486b9c16cbcd04a390c26e919c3 100644 (file)
@@ -5,9 +5,10 @@
 #      but it should be cleared out on next session launch
 _sev_zcleanup
 ## unset vars that use our tmp since above will remove them
-unset XDG_CACHE_HOME XDG_RUNTIME_DIR
+[[ XDG_CACHE_HOME = $_sev_tmp/.xdg.cache ]] && unset XDG_CACHE_DIR
+[[ XDG_RUNTIME_DIR = $TMPDIR/.xdg.runtime ]] && unset XDG_RUNTIME_DIR
 ## clean up any remaining sockets from gpg forwarding
-[[ -v _GNUPG_SOCK_DEST_BASE ]] && rm -f $_GNUPG_SOCK_DEST_BASE*(N=)
+[[ -v _GNUPG_SOCK_DEST_BASE ]] && rm -f $_GNUPG_SOCK_DEST_BASE*(=N)
 
 if [[ -o interactive ]] {
     echo logout
@@ -15,6 +16,4 @@ if [[ -o interactive ]] {
 }
 
 ### load site-specific
-if [[ -f ${ZDOTDIR:-~}/.zlogout.local ]] { source ${ZDOTDIR:-~}/.zlogout.local }
-
-# vim: et sts=4 sw=4 ts=8 tw=79
+load-site-dotfile zlogout
This page took 0.037064 seconds and 4 git commands to generate.