Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tom-tan/esh-buf-stack
This library adds a buffer stack feature to Eshell.
https://github.com/tom-tan/esh-buf-stack
emacs-lisp eshell zsh
Last synced: 23 days ago
JSON representation
This library adds a buffer stack feature to Eshell.
- Host: GitHub
- URL: https://github.com/tom-tan/esh-buf-stack
- Owner: tom-tan
- Created: 2013-06-17T11:44:36.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-16T08:19:56.000Z (over 10 years ago)
- Last Synced: 2023-07-14T17:10:00.566Z (over 1 year ago)
- Topics: emacs-lisp, eshell, zsh
- Language: Emacs Lisp
- Size: 141 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# esh-buf-stack.el
This library adds a buffer stack feature to Eshell.
It is inspired by the buffer stack in Zsh.You can install it by using `package-install` via [MELPA](http://melpa.milkbox.net/).
To use this package, add these lines to your `.emacs` file:
```elisp
(require 'esh-buf-stack)
(setup-eshell-buf-stack)
(add-hook 'eshell-mode-hook
(lambda ()
(local-set-key
(kbd "M-q") 'eshell-push-command)))
```
You can push the current command to the buffer stack by using `M-q`,
and after executing another command, you can see the top of the stack poped.