zsh-config/chpwd
Robert Morrison a029d2f348
Mega Commit
This commit is a sin.
But necessary
2022-12-05 21:03:45 +00:00

7 lines
133 B
Plaintext

HAS_GLOW="$(command -v glow)"
chpwd() {
[ -z $HAS_GLOW ] && return 0
find $PWD -maxdepth 1 -iname 'readme.md' -exec glow {} \;
}