How to set up "vi" shell environment as default

Posted by Ency on Server Fault See other posts from Server Fault or by Ency
Published on 2011-01-03T20:15:03Z Indexed on 2011/01/03 20:55 UTC
Read the original article Hit count: 332

Filed under:
|
|
|

It could by silly question, but I can not find answer anywhere. So, I'd like to use vi (you know set -o vi can do the trick) as default in my shell instead of emacs, but I do not want to put it into bash startup scripts.
Why? Because I work as verification engineer and I am using several user accounts, which are also quite often reinstalled. Changing of default profile is not answer too, because some of software creates its own home directory (independent on default profile).

© Server Fault or respective owner

Related posts about bash

Related posts about redhat