Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2008 18:12:30 +0530
From:      "manish jain" <unxfbsdi@gmail.com>
To:        freebsd-bugs@freebsd.org
Subject:   Problems with bash commandline history
Message-ID:  <71a1c60e0809200542x78346f99j7723e1056f3c40a8@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71a1c60e0809200542x78346f99j7723e1056f3c40a8>