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.
This commit is contained in:
kyak
2011-05-10 06:59:31 -08:00
committed by Xiangfu Liu
parent 16f4169373
commit 2afb404dde
+2
View File
@@ -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