Skip to content

Commit b92725f

Browse files
committed
fix: remove .zshrc before stow to prevent silent conflict
1 parent 3225f27 commit b92725f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hooks.server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ fi
101101
102102
cd "\$DOTFILES_DIR"
103103
echo "Deploying dotfiles with stow..."
104+
rm -f "\$HOME/.zshrc" "\$HOME/.zshrc.pre-oh-my-zsh"
104105
for dir in */; do
105106
[ -d "\$dir" ] && stow -v --target="\$HOME" "\${dir%/}" 2>/dev/null || true
106107
done

0 commit comments

Comments
 (0)