chore(setup): update .zshenv with script directory path

This commit is contained in:
2025-06-16 11:41:12 +02:00
parent 774fd82066
commit 8d3399c0e3

3
setup
View File

@ -20,6 +20,9 @@ echo "[+] Creating symlinks..."
if [ ! -f "$PWD/.zshenv" ]; then if [ ! -f "$PWD/.zshenv" ]; then
cp "$PWD/.zshenv.template" "$PWD/.zshenv" cp "$PWD/.zshenv.template" "$PWD/.zshenv"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
sed -i "s|^export DOTFILES_INSTALL_DIR=.*|export DOTFILES_INSTALL_DIR=${SCRIPT_DIR}|" .zshenv
fi fi
stow . stow .