aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/base-files/base-files/shr/profile
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/base-files/base-files/shr/profile')
-rw-r--r--recipes/base-files/base-files/shr/profile10
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes/base-files/base-files/shr/profile b/recipes/base-files/base-files/shr/profile
index e39a8f1a63..05e8490fd8 100644
--- a/recipes/base-files/base-files/shr/profile
+++ b/recipes/base-files/base-files/shr/profile
@@ -35,15 +35,15 @@ umask 022
alias pico=nano
alias fso='cd /local/pkg/fso'
alias ipkg='opkg'
-export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w $\[\033[00m\] "
-if [ "$DISPLAY" = "" ]
-then
+export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \\$\[\033[00m\] "
+if [ "$DISPLAY" = "" ] ; then
export DISPLAY=localhost:0
fi
+if [ "$HOME" = "" -o "$HOME" = "/" ] ; then
+ export HOME=/home/root
+fi
export HISTFILESIZE=1000
export HISTSIZE=1000
alias rm='rm -i'; alias cp='cp -i'; alias mv='mv -i'
alias la='ls -ltrA'; alias lh='ls -ltrh'; alias lr='ls -ltr';
alias lR='ls -ltrR'
-# set your locale here:
-export LANG=en_US.UTF-8