diff --git a/dotfiles/.local/share/chezmoi/home/private_dot_config/shell/profile b/dotfiles/.local/share/chezmoi/home/private_dot_config/shell/profile index 270782cf..2d5f38d0 100644 --- a/dotfiles/.local/share/chezmoi/home/private_dot_config/shell/profile +++ b/dotfiles/.local/share/chezmoi/home/private_dot_config/shell/profile @@ -1,6 +1,7 @@ # shellcheck disable=SC1090,SC1091 # Aliases / Functions / Exports +export XDG_CONFIG_HOME="$HOME/.config" if [ -f "$XDG_CONFIG_HOME/shell/exports" ]; then . "$XDG_CONFIG_HOME/shell/exports" fi diff --git a/dotfiles/.profile b/dotfiles/.profile index c15daccd..f7e6afba 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -1,6 +1,8 @@ # shellcheck disable=SC1090,SC1091 # Aliases / Functions / Exports +if [ -f "$HOME/.config/shell/exports" ]; then + if [ -f "$XDG_CONFIG_HOME/shell/exports" ]; then . "$XDG_CONFIG_HOME/shell/exports" fi