From 53f2955f4dc754bd3f411613983b9949d4d9da2e Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 19 Aug 2014 12:27:04 +0200 Subject: Move XAUTHORITY to .zprofile --- zsh/.zprofile | 2 ++ zsh/profile-leeloo | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'zsh') 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 -- cgit v1.2.3-70-g09d2