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 --- ChangeLog | 5 +++++ Doc/Zsh/builtins.yo | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 47a7d47aa..fb18eff9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-05 Peter Stephenson * 23905: Completion/Unix/Command/_git: remove useless gitdir 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