https://github.com/coldnew/eshell-autojump.git
git clone 'git://github.com/coldnew/eshell-autojump.git'
autojump command for Eshell
Use the command j to list common directories and to jump to them.
(eshell-autojump-load)
Read the initial value of ‘eshell-autojump-map’ from ‘eshell-autojump-file’. The file format is a simple alist. Ignore non-directories.
(eshell-autojump-save)
Save the value of ‘eshell-autojump-map’ to ‘eshell-autojump-file’. The file format is a simple alist. Reduce values by 1% such that eventually unused items fall off the list after not being used in a hundred sessions.
(eshell-autojump-record)
Record the current directory. ‘curdir’ is set by ‘eshell/cd’.
(eshell-autojump-candidates)
Return the most popular directories. Return list of keys sorted by value, descending, from ‘eshell-autojump-map’.
(eshell/j &rest ARGS)
Jump to a directory you often cd to. This compares the argument with the list of directories you usually jump to. Without an argument, list the ten most common directories. With a positive integer argument, list the n most common directories. Otherwise, call ‘eshell/cd’ with the result.
—–