aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-19 12:27:04 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-08-19 12:27:04 +0200
commit53f2955f4dc754bd3f411613983b9949d4d9da2e (patch)
tree7d87d377fdb66c3c498deb15fe7fb5b260eeb708 /zsh
parent49ec1d365758456fb1699ed66f6c987d6d661f7f (diff)
downloaddotfiles-53f2955f4dc754bd3f411613983b9949d4d9da2e.tar.xz
Move XAUTHORITY to .zprofile
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zprofile2
-rw-r--r--zsh/profile-leeloo5
2 files changed, 4 insertions, 3 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile
index 50ce356..1603340 100644
--- a/zsh/.zprofile
+++ b/zsh/.zprofile
@@ -37,6 +37,8 @@ export SUDO_PROMPT=$'\e[31mSUDO\e[m password for \e[34m%p\e[m: '
export HOSTNAME=$(hostname -s)
export FQDN=$(hostname -f)
+export XAUTHORITY="$XDG_RUNTIME_DIR"/xauthority
+
# LS_COLORS is now required for `ls` to use colour
source <(dircolors -b "$XDG_CONFIG_HOME"/dircolors)
diff --git a/zsh/profile-leeloo b/zsh/profile-leeloo
index 9e205d2..1e3f734 100644
--- a/zsh/profile-leeloo
+++ b/zsh/profile-leeloo
@@ -1,7 +1,4 @@
export LD_PRELOAD="$HOME"/.local/lib/libwcwidth.so
-export XAUTHORITY="$HOME"/.local/share/xorg/authority
-
-source "$HOME"/misc/grawity/code/kerberos/kc.sh
export PERL5LIB="$HOME"/misc/grawity/code/lib/perl5"${PERL5LIB+:}$PERL5LIB";
source <(perl -Mlocal::lib="$HOME"/.local)
@@ -26,4 +23,6 @@ function {
fi
}
+source "$HOME"/misc/grawity/code/kerberos/kc.sh
+
# vim: ft=zsh