Typo-fixed patch by mjw: Include SetupEnvironment from /etc/profile, so
shells started by remote login daemons (sshd, telnetd) also get the environmental variables defined there. Closes #5789 and #2468. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36536 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -5,6 +5,10 @@
|
|||||||
|
|
||||||
echo -e "\nWelcome to the Haiku shell.\n"
|
echo -e "\nWelcome to the Haiku shell.\n"
|
||||||
|
|
||||||
|
if [ -z $BE_HOST_CPU ]; then
|
||||||
|
source /boot/system/boot/SetupEnvironment
|
||||||
|
fi
|
||||||
|
|
||||||
export PS1="\w> "
|
export PS1="\w> "
|
||||||
export HISTFILESIZE=50
|
export HISTFILESIZE=50
|
||||||
export HISTCONTROL=ignoredups
|
export HISTCONTROL=ignoredups
|
||||||
|
|||||||
Reference in New Issue
Block a user