about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-05-18 16:56:36 +0100
committerPeter Stephenson <pws@zsh.org>2015-05-18 16:57:08 +0100
commitff190946690b5e770721462b706029559c0f9587 (patch)
tree27b6fe5e51059f88d603640b5269637d168a9391 /Doc
parent2caa5ddd79729ff48552236c4566b04a15e5daba (diff)
downloadzsh-ff190946690b5e770721462b706029559c0f9587.tar.gz
zsh-ff190946690b5e770721462b706029559c0f9587.tar.xz
zsh-ff190946690b5e770721462b706029559c0f9587.zip
35193: Add "unalias -a".
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo9
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 5327789cd..1b8729d7a 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -2056,7 +2056,14 @@ the symbolic form the permissions you specify are those which are to be
 allowed (not denied) to the users specified.
 )
 cindex(aliases, removing)
-alias(unalias)(unhash -a)
+item(tt(unalias) [ tt(-ams) ] var(name) ...)(
+Removes aliases.  This command works the same as tt(unhash -a), except that
+the tt(-a) option removes all regular or global aliases, or with tt(-s)
+all suffix aliases: in this case no var(name) arguments may appear.  The
+options tt(-m) (remove by pattern) and tt(-s) without tt(-a) (remove
+listed suffix aliases) behave as for tt(unhash -a).  Note that
+the meaning of tt(-a) is different between tt(unalias) and tt(unhash).
+)
 cindex(functions, removing)
 alias(unfunction)(unhash -f)
 findex(unhash)