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 | 38957: make use of updates to match-words-by-style and better support complet... (diff) | |
| download | zsh-8e029323a76b48cdbeeb03045e2fc6348e2b060b.tar zsh-8e029323a76b48cdbeeb03045e2fc6348e2b060b.tar.gz zsh-8e029323a76b48cdbeeb03045e2fc6348e2b060b.tar.bz2 zsh-8e029323a76b48cdbeeb03045e2fc6348e2b060b.tar.lz zsh-8e029323a76b48cdbeeb03045e2fc6348e2b060b.tar.xz zsh-8e029323a76b48cdbeeb03045e2fc6348e2b060b.tar.zst 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 |
