Trying to find a way to execute a function within BASH after changing into a directory.
for example,
# cd code/project/blah
"Your latest modified files are main.cc blah.hpp blah.cc"
(~/code/project/blah) # _
With the above I’m hoping to be able to wrap other functionality around the bash command.
Was hoping to find something along the lines of zsh hook functions
http://zsh.sourceforge.net/Doc/Release/Functions.html#SEC45
Don’t forget about
pushdandpopd, unless you never use them. I’d do this: