From 9421f9449c0605908eaf43d19274a6f5826c148f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 5 Oct 2007 19:31:01 +0000 Subject: unposted, c.f. users/11935: quoting of arguments to unalias --- Doc/Zsh/builtins.yo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Doc') diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 413e43ed8..acdb83d92 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1612,7 +1612,9 @@ findex(unhash) item(tt(unhash) [ tt(-adfms) ] var(name) ...)( Remove the element named var(name) from an internal hash table. The default is remove elements from the command hash table. The tt(-a) -option causes tt(unhash) to remove regular or global aliases. +option causes tt(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 tt(-s) option causes tt(unhash) to remove suffix aliases. The tt(-f) option causes tt(unhash) to remove shell functions. The tt(-d) options causes -- cgit 1.4.1