setting options in bash
The Wolf
xanadu@speedchoice.com
Mon, 01 May 2000 22:29:42 -0700
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
> kev@primenet.com, kevinb@redhat.com
>
> _______________________________________________
> Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us
> 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."