[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Automating vi-style history editing in bash



Maybe this was asked before, but I couldn't find it immediately in the
archives.

I know how to set up bash to let me edit previous commands vi-style by typing
set -o vi
or
export EDITOR=vi
at the command line. My problem: under Red Hat 6.1, I can't seem to get
either of these to have an effect when I put either of them in .bash_profile
or .bashrc . In fact, doing the "set" command in .bashrc ensures that I won't
even be able to *manually* set the mode from the command line.

Is there a workaround for this? One other piece of info: the Linux box
starts up with the GNOME display manager (gdm).

TIA ...

--
To unsubscribe: mail majordomo@ale.org with "unsubscribe ale" in message body.