Skip to content

Commit 418aa7a

Browse files
committed
Insert newline when adding PATH to user profile.
1 parent bd85edb commit 418aa7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ MSG_SUCCESS=$(cat <<EOF
3030
✅ Setup complete!
3131
3232
To get started with AgentStack, run:
33-
exec \$SHELL
34-
agentstack init
33+
🛠️ exec $SHELL
34+
🤖 agentstack init
3535
3636
For more information, run:
3737
agentstack docs -or- agentstack quickstart
@@ -421,7 +421,7 @@ update_path() {
421421
for config_file in "${config_files[@]}"; do
422422
if [ -f "$config_file" ]; then
423423
if ! grep -E "^[^#]*export[[:space:]]+PATH=.*(:$new_path|$new_path:|$new_path\$)" "$config_file" >/dev/null 2>&1; then
424-
echo "export PATH=\"$new_path:\$PATH\"" >> "$config_file"
424+
echo -e "\nexport PATH=\"$new_path:\$PATH\"" >> "$config_file"
425425
say_verbose "Added PATH $new_path to $config_file"
426426
else
427427
say_verbose "PATH $new_path already in $config_file"

0 commit comments

Comments
 (0)