setting options in bash

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: The Wolf
Date:  
Subject: setting options in bash
this worked just peachy.

Thanks a lot.
I have to make a note of this.

The Wolf


Kevin Buettner wrote:

> On Apr 30, 8:34pm, The Wolf wrote:
>
> > basically I want bash to behave like ksh with vi as a line editor
> > I am using following command:
> > $ set -o vi
> >
> > to set the vi as an editor.
> >
> > I have tried to put this in the .bashrc file but I do not
> > get the result as with the command executed from the prompt.
> >
> > Is there a way to automate the process of setting the
> > command editing without me typing it every time I log in??
>
> Put the following line in ~/.inputrc:
>
> set editing-mode vi
>
> If that doesn't work, it could be that you need to comment out
> the following line in /etc/profile:
>
> INPUTRC=/etc/inputrc
>
> (I've found that I need to do this on my Red Hat systems.)
>
> Kevin
>
> --
> Kevin Buettner
> ,
>
> _______________________________________________
> Plug-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


--
"The questions is not if we are paranoid,
the question is if we are paranoid enough."