In zsh shell, a commands hash table is created even though nohashcmds option is enabled.

Solution Unverified - Updated -

Issue

  • Option nohashcmds is enabled and it should prevent a command hash table from being created. Custom programs are stored in different locations listed in $PATH and the same program can be stored in two different locations. A hash table entry pointing to the wrong location is sometimes created in the command hash table. How to make sure that no hash table will be created at all?

Environment

  • Red Hat Enterprise Linux (RHEL) 5
  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 7
  • zsh shell

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