X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=zsh%2F.zprofile;h=f9da0707da40ddf3d9af2420549c10f417012387;hb=ad569577c7e47bf3edf121b02b37e1d541806526;hp=cec79984b7e2cb7842de58be671759b96533a62d;hpb=7494330d7fa7fdd47f8cf3761ed9c9c008f0b5cd;p=dotfiles.git diff --git a/zsh/.zprofile b/zsh/.zprofile index cec7998..f9da070 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,4 +1,4 @@ umask 077 -mkdir -p /tmp/stargrave-xdg /tmp/stargrave-lldb /tmp/stargrave-flags -env | grep -q XAUTH || ~/bin/rem -~/bin/cleanup.sh +[[ -e $XDG_DATA_HOME ]] || mkdir -p $XDG_DATA_HOME /tmp/stargrave-lldb /tmp/stargrave-flags +[[ -n "$XAUTHORITY" ]] || ~/bin/rem +~/bin/my-cleanup