Fix the issue where as the glow hook was called glow it would be called instead of the command glow.
8 lines
155 B
Bash
8 lines
155 B
Bash
## Load readme with glow (if available)
|
|
_hook_glow() {
|
|
has glow || return 0
|
|
find $PWD -maxdepth 1 -iname 'readme.md' -exec glow {} \;
|
|
}
|
|
|
|
## vim: ft=zsh
|