Heyo,
I've recently become aware of this package. It seems you might be interested in some work I'm currently doing in JuliaLang/julia#59953 which will track the working directory you're executing commands in.
This will make it possible to, for instance, filter your REPL history to the current project 🙂