Hi all,
I'm getting very confused. When I ssh into one of our machines it
gives me the vi command editing behaviour. I had presumed that this was
being set in
~/.bash_profile
~/.bashrc
or something similar. So I went through them and found nothing.
I've now added
set -o emacs
to both me .bashrc and .bash_profile files and however when I get to the
command line, for whatever reason always:
bash-2.03$ set -o
<snip>
emacs on
vi off
I even put a set -o command in the .bash_profile and made sure it
sucecssfully changes the variable. But it getschanged back again. Can
someone tell me what other scripts could be run in the meantime or if
perhaps I'm setting this in the wrong way and it's lost when the script
exits or something.
Gavin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!