https://github.com/fuco1/eshell-bookmark
Eshell and bookmark.el integration
https://github.com/fuco1/eshell-bookmark
Last synced: 18 days ago
JSON representation
Eshell and bookmark.el integration
- Host: GitHub
- URL: https://github.com/fuco1/eshell-bookmark
- Owner: Fuco1
- Created: 2017-09-06T10:43:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-02T12:31:28.000Z (about 7 years ago)
- Last Synced: 2026-02-12T23:41:03.966Z (25 days ago)
- Language: Emacs Lisp
- Size: 4.88 KB
- Stars: 20
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eshell-bookmark
Simple package integrating eshell with bookmark.el.
Read the [blog post](https://fuco1.github.io/2017-10-08-Using-bookmarks-with-eshell-and-docker-tramp.html) for introduction.
# Installation
Get it from MELPA or MELPA Stable with `M-x package-install eshell-bookmark`.
# Usage
Enable the bookmark by adding this setup to your config:
``` emacs-lisp
(add-hook 'eshell-mode-hook 'eshell-bookmark-setup)
```
Or you can also manually call `(eshell-bookmark-setup)` from any other setup hook you already have.
If you use `use-package`, the setup can look something like the following:
``` emacs-lisp
(use-package eshell-bookmark
:after eshell
:config
(add-hook 'eshell-mode-hook #'eshell-bookmark-setup))
```
After this, use the bookmark features as usual:
* capture a bookmark to eshell with `C-x r m`
* restore an eshell with `C-x r l`
Works with remote/TRAMP hosts as well, which is super cool.