From ff190946690b5e770721462b706029559c0f9587 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 18 May 2015 16:56:36 +0100 Subject: 35193: Add "unalias -a". --- Doc/Zsh/builtins.yo | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Doc/Zsh') 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) -- cgit 1.4.1