Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/plugins/terminal/scripts/init-alpine.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/share/bin:/usr/share/sbin:/usr/local/bin:/usr/local/sbin:/system/bin:/system/xbin:$PREFIX/local/bin
export PS1="\[\e[38;5;46m\]\u\[\033[39m\]@localhost \[\033[39m\]\w \[\033[0m\]\\$ "
export HOME=/home
export HOME=/public
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 initrc heredoc still sets HOME=/home, overriding this change

The HOME=/public set at line 3 is immediately overridden when bash launches. The initrc heredoc written at line 162 (inside this same script) still contains export HOME=/home, and that file is sourced as the rcfile for every interactive session via "$PREFIX/axs" -c "bash --rcfile /initrc -i" (line 248). As a result, users will still get HOME=/home in their shells despite this change.

export TERM=xterm-256color


Expand Down