From 95b2b55e8977d0fdc61866a62ce9b80a0e7798d3 Mon Sep 17 00:00:00 2001 From: Paul Ackersviller Date: Sun, 25 Nov 2007 17:55:11 +0000 Subject: Merge of 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 a9be1d5c7..da3696285 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1543,7 +1543,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