Bug 55102 - Forced emacs mode
Forced emacs mode
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: zsh (Show other bugs)
7.2
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
Aaron Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-10-25 12:17 EDT by Nadav Har'El
Modified: 2007-04-18 12:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-10-25 12:17:25 EDT
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 Nadav Har'El 2001-10-25 12:17:20 EDT
You put in /etc/zshrc the line
           bindkey -e

Which forces emacs mode. Why? The default zsh behavior already defaults to
emacs, unless the user uses either bindkey -v or sets EDITOR or VISUAL to
vi (or vi's full pathname). But because of that line you put in /etc/zshrc,
setting VISUAL in .zprofile no longer works as explained in the manual (and
as it used to), and now I'm forced to use "bindkey -v" in my own .zshrc.

I think that this arms-race is not very useful, and it is better if
Redhat's configuration don't try to enforce emacs mode...
Comment 1 Trond Eivind Glomsrxd 2001-10-26 12:04:28 EDT
Commented the line in 4.0.4-1 - as long as it's the default, there's no reason
to set it explicitly. It's just been there for a long time.

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