about summary refs log tree commit diff
path: root/Functions/Misc/add-zsh-hook
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-07-28 18:01:36 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-07-28 18:07:57 +0000
commit8e029323a76b48cdbeeb03045e2fc6348e2b060b (patch)
treecf9cddddd5a8ff982f208ab3e5775297f8375f3c /Functions/Misc/add-zsh-hook
parentb816bb42cfc4d0fa05abb63ebf4098af05a3d593 (diff)
downloadzsh-8e029323a76b48cdbeeb03045e2fc6348e2b060b.tar.gz
zsh-8e029323a76b48cdbeeb03045e2fc6348e2b060b.tar.xz
zsh-8e029323a76b48cdbeeb03045e2fc6348e2b060b.zip
unposted: Avoid $0 for POSIX_ARGZERO compatibility.
Diffstat (limited to 'Functions/Misc/add-zsh-hook')
-rw-r--r--Functions/Misc/add-zsh-hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/add-zsh-hook b/Functions/Misc/add-zsh-hook
index fc39659ae..3bc952e2f 100644
--- a/Functions/Misc/add-zsh-hook
+++ b/Functions/Misc/add-zsh-hook
@@ -19,7 +19,7 @@ hooktypes=(
   chpwd precmd preexec periodic zshaddhistory zshexit
   zsh_directory_name
 )
-local usage="Usage: $0 hook function\nValid hooks are:\n  $hooktypes"
+local usage="Usage: add-zsh-hook hook function\nValid hooks are:\n  $hooktypes"
 
 local opt
 local -a autoopts