Skip to content

Commit da14348

Browse files
authored
fix - install script (#74)
1 parent 12f6811 commit da14348

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ if [ ! -f "$HOME/.zshrc" ]; then
5555
fi
5656

5757
if [ -f "$HOME/.zshrc" ]; then
58-
echo "\nexport PATH=\"$BINARY_PATH:\$PATH\"" >> "$HOME/.zshrc"
58+
echo "" >> "$HOME/.zshrc"
59+
echo "export PATH=\"$BINARY_PATH:\$PATH\"" >> "$HOME/.zshrc"
5960
fi
6061
if [ -f "$HOME/.bashrc" ]; then
61-
echo "\nexport PATH=\"$BINARY_PATH:\$PATH\"" >> "$HOME/.bashrc"
62+
echo "" >> "$HOME/.bashrc"
63+
echo "export PATH=\"$BINARY_PATH:\$PATH\"" >> "$HOME/.bashrc"
6264
fi
6365

6466
"${BINARY_PATH}/${FILE_BASENAME}" welcome -i -o="$OS" -m="curl" -v="$VERSION" -a="$ARCH"

0 commit comments

Comments
 (0)