Skip to content

Commit f86d926

Browse files
committed
fix: stow each directory individually to avoid glob issues
1 parent b26ff6b commit f86d926

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/hooks.server.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ fi
5050
5151
cd "\$DOTFILES_DIR"
5252
echo "Deploying dotfiles with stow..."
53-
stow -v --target="\$HOME" */ 2>/dev/null || stow -v --target="\$HOME" git ssh zsh 2>/dev/null || true
53+
for dir in */; do
54+
[ -d "\$dir" ] && stow -v --target="\$HOME" "\${dir%/}" 2>/dev/null || true
55+
done
5456
`
5557
: ''
5658
}

0 commit comments

Comments
 (0)