An open API service indexing awesome lists of open source software.

https://github.com/coldnew/eshell-autojump

autojump command for Eshell
https://github.com/coldnew/eshell-autojump

emacs emacs-lisp eshell

Last synced: about 1 year ago
JSON representation

autojump command for Eshell

Awesome Lists containing this project

README

          

## eshell-autojump.el
*autojump command for Eshell*

---
[![License GPLv3](https://img.shields.io/badge/license-GPL_v3-green.svg)](http://www.gnu.org/licenses/gpl-3.0.html)
[![MELPA](http://melpa.org/packages/eshell-autojump-badge.svg)](http://melpa.org/#/eshell-autojump)
[![MELPA Stable](http://stable.melpa.org/packages/eshell-autojump-badge.svg)](http://stable.melpa.org/#/eshell-autojump)

Use the command j to list common directories and to jump to them.

### Function Documentation

#### `(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.

-----


Markdown README file generated by
make-readme-markdown.el