zsh command line searching does not echo searched string

Solution Verified - Updated -

Issue

When zsh is used in ksh emulation mode with vi mode enabled, command line searching does not echo the search string.

$ ls -l /usr/bin/ksh
lrwxrwxrwx 1 root root 8 Jul  8 10:36 /usr/bin/ksh -> /bin/zsh
$ ksh
$ set -o vi

At this stage using <esc>+/ to search the history will work although the searched string will not appear on the screen.

Environment

  • Red Hat Enterprise Linux 5
  • zsh

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content