Apparently "/prewalk" is built into https://github.com/can1357/oh-my-pi, which I guess is a lot like "Oh My ZSH?" Pi with batteries included.
There are a lot of interesting ideas in it, mostly none that I have applied to my own workflows. Curious if anyone has used it?