mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-17 17:17:40 +08:00
Co-authored-by: Harshavardhan <harshath3018@gmail.com> Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
524 B
524 B
unhash
Remove hashed executable locations. See also:
hash. More information: https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html.
- Remove a specific command from the hash table:
unhash {{command}}
- Unhash non-suffix [a]liases:
unhash -a {{alias}}
- Unhash [s]uffix aliases:
unhash -s {{alias}}
- Unhash shell [f]unctions:
unhash -f {{function}}
- Unhash [d]irectories:
unhash -d {{directory}}
- Unhash every function that [m]atches a pattern:
unhash -f -m "{{pattern}}"