From e661cd73c6f2b935c0c3361ee63b3b8fe1c23b1e Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Wed, 23 Nov 2022 00:15:36 +0000 Subject: [PATCH] Update dotfiles/.profile, dotfiles/.local/share/chezmoi/home/private_dot_config/shell/profile --- .../.local/share/chezmoi/home/private_dot_config/shell/profile | 1 + dotfiles/.profile | 2 ++ 2 files changed, 3 insertions(+) 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