X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=zsh%2F.zprofile;h=e54e80139943404f037c4f902999bdb5b60562cc;hb=8aa830dc985ab9953e5c756a2de50e73c8ba1602;hp=b03fea08aed62d4f21f94a24ac93161d77200dd0;hpb=7f785e3f550d99fa2e22a89c7b317c6927e9147a;p=dotfiles.git diff --git a/zsh/.zprofile b/zsh/.zprofile index b03fea0..e54e801 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,4 +1,4 @@ umask 077 -mkdir -p /tmp/stargrave-xdg /tmp/stargrave-lldb -env | grep -q XAUTH || ~/bin/rem +[[ -e $XDG_DATA_HOME ]] || mkdir -p $XDG_DATA_HOME /tmp/stargrave-lldb /tmp/stargrave-flags +[[ -n "$XAUTHORITY" ]] || ~/bin/rem ~/bin/cleanup.sh