+2
-1
@@ -6,8 +6,10 @@
|
|||||||
ps |& grep -e $PPID |& grep -e $SHELL |& grep -q -e $PPID > /dev/null 2>&1
|
ps |& grep -e $PPID |& grep -e $SHELL |& grep -q -e $PPID > /dev/null 2>&1
|
||||||
if [ $? -eq 1 ] ; then
|
if [ $? -eq 1 ] ; then
|
||||||
echo -e "\nWelcome to the Haiku shell.\n"
|
echo -e "\nWelcome to the Haiku shell.\n"
|
||||||
|
export PS1="\w> "
|
||||||
else
|
else
|
||||||
echo -e "\nSwitching to architecture `getarch`\n"
|
echo -e "\nSwitching to architecture `getarch`\n"
|
||||||
|
export PS1="[`getarch`] \w> "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export USER=`id -un`
|
export USER=`id -un`
|
||||||
@@ -17,7 +19,6 @@ if [ -z $BE_HOST_CPU ]; then
|
|||||||
. /boot/system/boot/SetupEnvironment
|
. /boot/system/boot/SetupEnvironment
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PS1="\w> "
|
|
||||||
export HISTFILESIZE=500
|
export HISTFILESIZE=500
|
||||||
export HISTCONTROL=ignoredups
|
export HISTCONTROL=ignoredups
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user