Bug 6510 - set -o vi in /etc/bashrc or /etc/profile doesn't work
set -o vi in /etc/bashrc or /etc/profile doesn't work
Status: CLOSED DUPLICATE of bug 6084
Product: Red Hat Linux
Classification: Retired
Component: bash (Show other bugs)
6.0
alpha Linux
low Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-10-29 14:43 EDT by moof
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-02-01 15:27:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description moof 1999-10-29 14:43:31 EDT
If you use the command "set -o vi" in /etc/bashrc or
in /etc/profile, then command-line editing doesn't work.
If you try and use one of the VI command to scroll through
the history list such as ESC-k k k, you just get a beep.
If you remove the "set -o vi" command from /etc/bashrc
and /etc/profile, and then type in the command from the
command line, then it works fine.

When the command is in the rc file, and you type "set -o
emacs" at the command line, then the emacs mode works.  If
you then attempt to switch to vi mode "set -o vi," then
command-line editing fails.
Comment 1 Cristian Gafton 2000-02-01 15:27:59 EST
*** This bug has been marked as a duplicate of 6084 ***

Note You need to log in before you can comment on or make changes to this bug.