summaryrefslogtreecommitdiff
path: root/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'base-files')
-rw-r--r--base-files/base-files/etc/profile6
1 files changed, 6 insertions, 0 deletions
diff --git a/base-files/base-files/etc/profile b/base-files/base-files/etc/profile
index 08b8355cc1..08c2afdf8b 100644
--- a/base-files/base-files/etc/profile
+++ b/base-files/base-files/etc/profile
@@ -24,3 +24,9 @@ fi
export PATH PS1 OPIEDIR QPEDIR QTDIR
umask 022
+
+if [ -d /mnt/ramfs/home/$USER ]; then
+ export HISTFILE="/mnt/ramfs/home/$USER/.ash_history"
+else
+ export HISTFILE=""
+fi