X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/a0bee6e01b9617fafb65c4dbe70bcc5cfc6c6d98..dbdc7eafae07bf7a5830402200e1d5fe9188a622:/.zsh/zshrc/99_hook_functions?ds=sidebyside diff --git a/.zsh/zshrc/99_hook_functions b/.zsh/zshrc/99_hook_functions index afd992b..a934d04 100644 --- a/.zsh/zshrc/99_hook_functions +++ b/.zsh/zshrc/99_hook_functions @@ -10,10 +10,10 @@ autoload -U is-at-least if ! is-at-least 4.3.6; then - precmd() { for fn ($precmd_functions) $fn } - preexec() { for fn ($preexec_functions) $fn } - chpwd() { for fn ($chpwd_functions) $fn } - periodic() { for fn ($periodic_functions) $fn } + precmd() { for fn ($precmd_functions) $fn "$@" } + preexec() { for fn ($preexec_functions) $fn "$@" } + chpwd() { for fn ($chpwd_functions) $fn "$@" } + periodic() { for fn ($periodic_functions) $fn "$@" } fi # vim:ft=zsh