diff options
-rw-r--r-- | dot_zshenv | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dot_zshenv b/dot_zshenv index 6e35623..5d41124 100644 --- a/dot_zshenv +++ b/dot_zshenv @@ -29,7 +29,7 @@ export DIRSTACKSIZE=16 # Set XDG_* path vars for better compat # https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html # TODO: XDG_RUNTIME_DIR cleanup on logout -[[ -v XDG_CONFIG_HONE ]] || export XDG_CONFIG_HOME=${HOME}/.config +[[ -v XDG_CONFIG_HOME ]] || export XDG_CONFIG_HOME=${HOME}/.config [[ -v XDG_CACHE_HOME ]] || export XDG_CACHE_HOME=${HOME}/.cache [[ -v XDG_DATA_HOME ]] || export XDG_DATA_HOME=${HOME}/.local/share [[ -v XDG_STATE_HOME ]] || export XDG_STATE_HOME=${HOME}/.local/state @@ -53,7 +53,7 @@ export PATH="${HOME}/.local/bin${PATH:+:${PATH}}" export MANPATH="${XDG_DATA_HOME:-${HOME}/.local/share}/man${MANPATH:+:${MANPATH}}" export INFOPATH="${XDG_DATA_HOME:-${HOME}/.local/share}/info${INFOPATH:+:${INFOPATH}}" fpath=( - "${ZDOTDIR:-${HOME}/.config/zsh}/functions" + "${ZDOTDIR:-${XDG_CONFIG_HOME:-${HOME}/.config}/zsh}/functions" "${XDG_DATA_HOME:-${HOME}/.local/share}/zsh/site-functions" $fpath ) @@ -70,3 +70,6 @@ export PIP_REQUIRE_VENV=1 # Tool config export RIPGREP_CONFIG_PATH="${XDG_CONFIG_HOME:-${HOME}/.config}/ripgrep" export BAT_CONFIG_FILE="${XDG_CONFIG_HOME:-${HOME}/.config}/bat/config" + +# Brew config +HOMEBREW_BUNDLE_FILE_GLOBAL="${XDG_CONFIG_HOME:-${HOME}/.config}/Brewfile" |