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

Re: zsh vs bash



Here are two ways I know of:

1) echo "set editing-mode vi" >> ~root/.inputrc

2) exec bash -o vi

--Bob

James W. Lynch wrote:
> 
> ---------  Received message begins Here  ---------
> 
> This subject brings up a question I've had for a long time.  Bash appears
> to be the shell that I get when I log in as root or do an su command.
> I'm from the old school and perfer vi editing of commands, but I have
> yet to be able to make bash use vi as root.  I've set EDITOR and FCEDIT.
> I've set editing-mode vi.  I can't seem to get root to use anything
> but emacs editing mode.  Is this a diabolical plot by the Linux developers
> to force emacs on the world? 8^)
> 
> Bash works as expected, described and designed when I'm a normal
> user.
> 
> Can I do it? How?
> 
> Thanks,
> Jim.
> 
> ------------------------------------------------------------------------
> Jim Lynch, System Engineer,  SGI/Cray Research, Inc. / ARS: K4GVO
> Federal Business Systems, Phone: (770) 631-2254, Email: jwl@sgi.com
> Suite 270, 200 Westpark Drive, Peachtree City, GA 30269


Reply to: