diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2022-05-14 23:32:33 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2022-05-14 23:32:33 +0200 |
commit | 2ae4a3989e1bd06c82d597418a46b25cb14d57ed (patch) | |
tree | 9cfc4bf449c34f9493e369910e94773d4cc88366 /Doc/help/unhash | |
parent | 43867f68c0b1279ec096ce5639e6ec3a2df8103f (diff) | |
parent | d4d203488826181aa4eb360ce57de138417ba680 (diff) | |
download | zsh-2ae4a3989e1bd06c82d597418a46b25cb14d57ed.tar.gz zsh-2ae4a3989e1bd06c82d597418a46b25cb14d57ed.zip |
Update upstream source from tag 'upstream/5.9'
Update to upstream version '5.9'
with Debian dir 9ec0c75153d850f8dda83cca1a9ed3ff6200c14b
Diffstat (limited to 'Doc/help/unhash')
-rw-r--r-- | Doc/help/unhash | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Doc/help/unhash b/Doc/help/unhash index a94c55dd4..8dd6121ac 100644 --- a/Doc/help/unhash +++ b/Doc/help/unhash @@ -1,21 +1,21 @@ unhash [ -adfms ] name ... - Remove the element named name from an internal hash table. The - default is remove elements from the command hash table. The -a - option causes unhash to remove regular or global aliases; note - when removing a global aliases that the argument must be quoted - to prevent it from being expanded before being passed to the - command. The -s option causes unhash to remove suffix aliases. - The -f option causes unhash to remove shell functions. The -d - options causes unhash to remove named directories. If the -m - flag is given the arguments are taken as patterns (should be - quoted) and all elements of the corresponding hash table with + Remove the element named name from an internal hash table. The + default is remove elements from the command hash table. The -a + option causes unhash to remove regular or global aliases; note + when removing a global aliases that the argument must be quoted + to prevent it from being expanded before being passed to the + command. The -s option causes unhash to remove suffix aliases. + The -f option causes unhash to remove shell functions. The -d + options causes unhash to remove named directories. If the -m + flag is given the arguments are taken as patterns (should be + quoted) and all elements of the corresponding hash table with matching names will be removed. unalias [ -ams ] name ... - Removes aliases. This command works the same as unhash -a, ex- - cept that the -a option removes all regular or global aliases, - or with -s all suffix aliases: in this case no name arguments - may appear. The options -m (remove by pattern) and -s without + Removes aliases. This command works the same as unhash -a, ex- + cept that the -a option removes all regular or global aliases, + or with -s all suffix aliases: in this case no name arguments + may appear. The options -m (remove by pattern) and -s without -a (remove listed suffix aliases) behave as for unhash -a. Note that the meaning of -a is different between unalias and unhash. |