diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-07-28 18:01:36 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-07-28 18:07:57 +0000 |
commit | 8e029323a76b48cdbeeb03045e2fc6348e2b060b (patch) | |
tree | cf9cddddd5a8ff982f208ab3e5775297f8375f3c /Functions/Misc/add-zsh-hook | |
parent | b816bb42cfc4d0fa05abb63ebf4098af05a3d593 (diff) | |
download | zsh-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-hook | 2 |
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 |