Problems with bash commandline history
manish jain
unxfbsdi at gmail.com
Sat Sep 20 13:14:46 UTC 2008
Hi,
I just migrated from Linux and I am now using FreeBSD 6.3. My keyboard
layout is US-ISO and my TERM is con25. I am using bash#3 as my login shell.
The problem is that bash does not remember my commands correctly. Almost all
commands I enter in a login session are forgotten in the next session. Using
the Up and Down arrow keys navigates a mangled and incomlete command
history. Even using Ctrl-r for a reverse find almost never fetches a command
I had actually typed in previously.
The following are the contents of my .bash_profile and .bashrc:
#.bash_profile :
[ -f ~/.bashrc ] && source ~/.bashrc
#end-of-file
#.bashrc :
export HISTFILESIZE=200
shopt -s cmdhist
shopt -s histappend
#end-of-file
If anyone can help me out to get me bash remembering my commnds, I will
be grateful.
Thanks
Manish Jain
unxfbsdi at gmail.com
More information about the freebsd-bugs
mailing list