![](/style/images/good.png)
![](/style/images/bad.png)
GitHub - manateelazycat/aweshell: Awesome shell extension eshell with wonderful...
source link: https://github.com/manateelazycat/aweshell
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
What is aweshell?
I created multi-term.el
and use it many years.
Now I'm a big fans of eshell
.
So I wrote aweshell.el
to extend eshell
with these features:
- Create and manage multiple eshell buffers.
- Add some useful commands, such as: clear buffer, toggle sudo etc.
- Display extra information and color like zsh, powered by
eshell-prompt-extras
- Add Fish-like history autosuggestions, powered by
esh-autosuggest
- Validate and highlight command before post to eshell.
- Fix error
command not found
in MacOS.
Installation
Put aweshell.el
, esh-autosuggest.el
, eshell-prompt-extras.el
, exec-path-from-shell.el
to your load-path.
The load-path is usually ~/elisp/.
It's set in your ~/.emacs like this:
(add-to-list 'load-path (expand-file-name "~/elisp")) (require 'aweshell)
Bind your favorite key to functions:
aweshell-new aweshell-next aweshell-prev aweshell-clear-buffer aweshell-sudo-toggle
Customize
Customize variables below by:
M-x customize-group RET aweshell RET
aweshell-complete-selection-key aweshell-clear-buffer-key aweshell-sudo-toggle-key
Customize prompt as directed in eshell-prompt-extras' README.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK