about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/builtins.yo4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 47a7d47aa..fb18eff9b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-05  Peter Stephenson  <p.w.stephenson@ntlworld.com
+
+	* unposted, c.f. users/11935: Doc/Zsh/builtins.yo: quoting
+	of arguments to unalias.
+
 2007-10-04  Clint Adams  <clint@zsh.org>
 
 	* 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