In zsh shell, a commands hash table is created even though nohashcmds option is enabled.
Issue
- Option
nohashcmdsis 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.