Skip to content

Commit 16ee52f

Browse files
committed
Ensure zshrc patch adds newline
1 parent b2256b7 commit 16ee52f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,10 @@ update_user_zshrc_paths() {
370370
fi
371371
fi
372372

373+
if [[ -s "$user_zshrc" ]]; then
374+
echo "" >>"$user_zshrc"
375+
fi
376+
373377
cat >>"$user_zshrc" <<'EOF'
374378
# >>> zush installer path setup >>>
375379
if [[ -x /opt/homebrew/bin/brew ]]; then

0 commit comments

Comments
 (0)