zsh-config/hooks
Robert Morrison cd0ec0c563
fix(hooks): Fix glow hook overriding glow command
Fix the issue where as the glow hook was called glow it would be called
instead of the command glow.
2024-02-19 14:57:25 +00:00

12 lines
293 B
Bash

#This file manages hooks so I can have multiple functions hooked the way I want
for file in $(find $ZDOTDIR/hooks.d -type f); do
source "$file"
done
add-zsh-hook -Uz chpwd _hook_glow
add-zsh-hook -Uz chpwd osc7
add-zsh-hook -Uz precmd termtitle
add-zsh-hook -Uz precmd osc113
# vim: ft=zsh