feat: Sources personal env variables file, if it exists.

This commit is contained in:
2025-10-30 08:51:52 -04:00
parent 95ffc9fa44
commit aec01d5876
2 changed files with 3 additions and 2 deletions

View File

@@ -120,8 +120,8 @@ copy_files $DEV_ENV/env/.config/systemd/user $XDG_CONFIG_HOME/systemd/user
# copying configuration.
copy $DEV_ENV/env/.zshenv $HOME/.zshenv
mkdir -p $XDG_CONFIG_HOME/zsh >/dev/null 2>&1
update_dirs $DEV_ENV/env/.config/zsh $XDG_CONFIG_HOME/zsh
copy_files $DEV_ENV/env/.config/zsh $XDG_CONFIG_HOME/zsh
update_dirs $DEV_ENV/env/.config/zsh $XDG_CONFIG_HOME/zsh # copies sup-directories.
copy_files $DEV_ENV/env/.config/zsh $XDG_CONFIG_HOME/zsh # copies files in the root directory.
# TMUX
copy $DEV_ENV/env/.tmux.conf $HOME/.tmux.conf

1
env/.zshenv vendored
View File

@@ -86,3 +86,4 @@ export _ZO_DATA_DIR="$XDG_DATA_HOME"
unset _ZO_ECHO
[ -f "$LOCAL_ENV" ] && source "$LOCAL_ENV"
[ -f "$ZDOTDIR/personal.env" ] && source "$ZDOTDIR/personal.env"