bug-bash
[Top][All Lists]
Advanced

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

Re: set -o vi in .bash_profile


From: Chet Ramey
Subject: Re: set -o vi in .bash_profile
Date: Tue, 3 Jul 2001 08:01:00 -0400

> When 'set -o vi' is added in a .bash_profile, this does not seems to
> work. However, if I remove it from the .bash_profile and type it manually
> after login in, it works. 
> Also, when it is in the .bash_profile then vi is on when you do a set -o,
> but it does not work, even if you enter the command manually.
> So the only way for me to have vi-editing is to leave it out of the
> profile and enter it after login in.
> This happens with bash 1.14.7 and bash2 2.03.
> Can someone tell me how I can add it in some profile so that it doesn't
> have to be typed in every login-session ?

If you're using some variant of Red Hat Linux, look at the FAQ,
question F6.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]