Adds lookup for a zsh env file in xdg_data_home, for local configuration options.

This commit is contained in:
2024-03-22 23:26:06 -04:00
parent 881905f203
commit 9ef283fda1
2 changed files with 12 additions and 11 deletions

View File

@@ -80,4 +80,5 @@ export ANSIBLE_HOME="$XDG_CONFIG_HOME/ansible"
export TMUX_SESSIONATOR_PATH="$HOME:$SCRIPTS:$LOCAL_REPOS:$HHE_REPOS:$REPOS:$GH_REPOS:"
# TODO: This should be moved to "$XDG_DATA_HOME".
[ -f "$ZDOTDIR/.zshrc-local" ] && source "$ZDOTDIR/.zshrc-local"
[ -x "$ZDOTDIR/.zshrc-local" ] && source "$ZDOTDIR/.zshrc-local"
[ -x "$XDG_DATA_HOME/zsh/env" ] && source "$XDG_DATA_HOME/zsh/env"