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)"
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
sed -i "s|^export DOTFILES_INSTALL_DIR=.*|export DOTFILES_INSTALL_DIR=${SCRIPT_DIR}|" .zshenv
|
sed -i "s|^export DOTFILES_INSTALL_DIR=.*|export DOTFILES_INSTALL_DIR=${SCRIPT_DIR}|" .zshenv
|
||||||
|
source "$PWD/.zshenv"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./scripts/gitconfig
|
./scripts/gitconfig
|
||||||
|
Reference in New Issue
Block a user