feat(setup): source .zshenv after creating it
This commit is contained in:
@ -15,6 +15,7 @@ if [ ! -f "$PWD/.zshenv" ]; then
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
sed -i "s|^export DOTFILES_INSTALL_DIR=.*|export DOTFILES_INSTALL_DIR=${SCRIPT_DIR}|" .zshenv
|
||||
source "$PWD/.zshenv"
|
||||
fi
|
||||
|
||||
./scripts/gitconfig
|
||||
|
Reference in New Issue
Block a user