about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-11-25 17:55:11 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-11-25 17:55:11 +0000
commit95b2b55e8977d0fdc61866a62ce9b80a0e7798d3 (patch)
tree6523fffc34143ff4715938d5c0f2f0a6cf4858ae
parent8fd9a5c558492b6af750bb8eb1d2dac34e4d004a (diff)
downloadzsh-95b2b55e8977d0fdc61866a62ce9b80a0e7798d3.tar.gz
zsh-95b2b55e8977d0fdc61866a62ce9b80a0e7798d3.tar.xz
zsh-95b2b55e8977d0fdc61866a62ce9b80a0e7798d3.zip
Merge of unposted, c.f. users/11935: quoting of arguments to unalias.
-rw-r--r--Doc/Zsh/builtins.yo4
1 files changed, 3 insertions, 1 deletions
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