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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.