From b07cc5d017e63f4e18ccff3c2a905166f1e3cd75 Mon Sep 17 00:00:00 2001 From: kyak Date: Sun, 14 Nov 2010 13:26:53 +0300 Subject: [PATCH] added HISTFILE env variable in /etc/profile This is necessary because otherwise the history is saved in different files when logged in via ssh and via tty. --- data/qi_lb60/files/etc/profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/qi_lb60/files/etc/profile b/data/qi_lb60/files/etc/profile index 60477ba54..dafe6ed97 100644 --- a/data/qi_lb60/files/etc/profile +++ b/data/qi_lb60/files/etc/profile @@ -9,6 +9,8 @@ export PS1='\u@\h:\w\$ ' export SDL_NOMOUSE=1 export SDL_VIDEODRIVER=fbcon +export HISTFILE=$HOME/.ash_history + [ -x /bin/more ] || alias more=less [ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi