Summary: (setq eshell-last-dir-ring-size 500)
> (setq eshell-last-dir-ring-size 500)
This is an eshell extension to facilitate directory switching.
‘j’ to list your favorite directories (as determined by your usage of
‘j regexp’ to jump to your most favorite directory matching the regular expression.
The list of directories is based on
‘eshell-last-dir-ring’ which gets saved in
~/.eshell/lastdir. You can increase the ring size by setting
Note that the standard eshell comes with a very similar mechanism based on the same ring of directories:
‘cd -’is the same as
The only benefit autojump offers is that it sorts the entries by how often you switched there instead of when you switched there. Perhaps this is good enough for you, making autojump unnecessary.
(eval-after-load 'eshell '(require 'eshell-autojump nil t)) (setq eshell-last-dir-ring-size 500)