summaryrefslogtreecommitdiff
path: root/zprofile
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-09-12 21:58:24 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-09-12 21:59:10 -0500
commit59e19225f2f199855f794f6ac175ff14226916cd (patch)
tree8c14ec80257d3ffdba6c2def69961fbbaa286910 /zprofile
parent8600c1fecaf71898dba0721398e26148bfbb6e78 (diff)
parent973dfaf6058981914d13bbcdb4467f4c9aa13ffa (diff)
downloadzsh-59e19225f2f199855f794f6ac175ff14226916cd.tar.xz
zsh-59e19225f2f199855f794f6ac175ff14226916cd.zip
Merge branch 'master' of zsh
Diffstat (limited to 'zprofile')
-rwxr-xr-xzprofile3
1 files changed, 2 insertions, 1 deletions
diff --git a/zprofile b/zprofile
index 39fa6b1..68b5f86 100755
--- a/zprofile
+++ b/zprofile
@@ -14,7 +14,6 @@ export SUDO='doas'
export XDG_CACHE_HOME="$HOME/.cache"
export ANSIBLE_GALAXY_CACHE_DIR="${XDG_CACHE_HOME}/ansible/galaxy_cache"
export DOCKER_CONFIG="$XDG_CACHE_HOME/docker"
-export XAUTHORITY="$XDG_CACHE_HOME/Xauthority"
export XDG_CONFIG_HOME="$HOME/.config"
export ANSIBLE_HOME="${XDG_CONFIG_HOME}/ansible"
@@ -39,6 +38,8 @@ export XDG_STATE_HOME="$HOME/.local/state"
export LESSHISTFILE='-' # Disable this, but it would be considered a state file
export ZHISTFILE="$XDG_STATE_HOME/zsh/zhistory" # Used to set HISTFILE in zshrc without exporting since HISTFILE is generic to most shells, and desired behavior is for zsh to have its own history file
+export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
+
# Path
setopt nullglob # Set in case .local/bin doesn't exist
for lbin in "$HOME/.local/bin"{/,/*/}; do export PATH="${lbin%/}:$PATH"; done 2>/dev/null # Add ~/.local/bin and all sub dirs