[CLUE-Tech] vi form of command history editor in bash?

Dave Anselmi anselmi at americanisp.net
Tue Dec 18 22:55:05 MST 2001


Jeffery Cann wrote:

> Make sure you put the 'set -o vi' in your .bash_profile
>
> Not sure about the .bashrc as I do not use it.  I do know that I have it in
> my .bash_profile and it works on Linux and even Cygwin.

We *really* don't want to have a long discussion about bash.  One file is for
login shells, one is for interactive shells.  If you want to know how it works,
read the man page under the heading INVOCATION.

If set -o doesn't work for you, put an echo in front of it and see if it
actually gets called.

Dave





More information about the clue-tech mailing list