I have been trying to use emacs as a multiplexer with eshell as my go-to shell. Zoxide integration, could be helpful .
You must log in or # to comment.
Top result from a Google search.
Also, you are not limited by a shell when inside Emacs – this is straitjacketed thinking. There are better ways to get what you want than replicating zoxide or fasd.
Try ‘cd =’, you will get list of previously visited directories with numbers assigned to it. Then do 'cd ’ to jump to the directory.
I think what you are looking for is eshell-z https://github.com/travisjeffery/eshell-z.el