All Projects → daviderestivo → load-bash-alias

daviderestivo / load-bash-alias

Licence: GPL-3.0 license
Convert bash aliases into eshell ones

Programming Languages

emacs lisp
2029 projects

Projects that are alternatives of or similar to load-bash-alias

Emacs Which Key
Emacs package that displays available keybindings in popup
Stars: ✭ 1,136 (+7000%)
Mutual labels:  emacs-packages
Emacs Vdiff
Like vimdiff for Emacs
Stars: ✭ 165 (+931.25%)
Mutual labels:  emacs-packages
esh-autosuggest
Fish-like autosuggestions in eshell.
Stars: ✭ 88 (+450%)
Mutual labels:  eshell
Emacs Solaire Mode
If only certain buffers could be so grossly incandescent.
Stars: ✭ 129 (+706.25%)
Mutual labels:  emacs-packages
Borg
Assimilate Emacs packages as Git submodules
Stars: ✭ 145 (+806.25%)
Mutual labels:  emacs-packages
Evil Snipe
2-char searching ala vim-sneak & vim-seek, for evil-mode
Stars: ✭ 196 (+1125%)
Mutual labels:  emacs-packages
Elfeed Protocol
Provide extra protocols to make like Fever, NewsBlur, Nextcloud/ownCloud News and Tiny Tiny RSS work with elfeed
Stars: ✭ 50 (+212.5%)
Mutual labels:  emacs-packages
eshell-up
Quickly go to a specific parent directory in eshell
Stars: ✭ 28 (+75%)
Mutual labels:  eshell
Org Msg
OrgMsg is a GNU/Emacs global minor mode mixing up Org mode and Message mode to compose and reply to emails in a Outlook HTML friendly style.
Stars: ✭ 153 (+856.25%)
Mutual labels:  emacs-packages
Academic Phrases
Bypass that mental block when writing your papers.
Stars: ✭ 244 (+1425%)
Mutual labels:  emacs-packages
Emacs Gdscript Mode
An Emacs package to get GDScript support and syntax highlighting.
Stars: ✭ 132 (+725%)
Mutual labels:  emacs-packages
Mode Icons
Show icons instead of mode names
Stars: ✭ 140 (+775%)
Mutual labels:  emacs-packages
Evil Multiedit
Multiple cursors for evil-mode, based on iedit
Stars: ✭ 200 (+1150%)
Mutual labels:  emacs-packages
Org Pandoc Import
Save yourself from non-org formats, thanks to pandoc
Stars: ✭ 111 (+593.75%)
Mutual labels:  emacs-packages
eshell-info-banner.el
Display some system information when launching Eshell
Stars: ✭ 28 (+75%)
Mutual labels:  eshell
Emacs.g
The Emacs Collective
Stars: ✭ 51 (+218.75%)
Mutual labels:  emacs-packages
Super Save
Save Emacs buffers when they lose focus
Stars: ✭ 184 (+1050%)
Mutual labels:  emacs-packages
esh-help
This library adds some help features for Eshell
Stars: ✭ 19 (+18.75%)
Mutual labels:  eshell
shell-switcher
An emacs minor mode to easily switch between shell buffers (like with alt+tab)
Stars: ✭ 40 (+150%)
Mutual labels:  eshell
Uncledavesemacs
My personal ~/.emacs.d
Stars: ✭ 204 (+1175%)
Mutual labels:  emacs-packages

load-bash-alias

License: GPL v3 MELPA

Convert bash aliases into eshell ones.

Installation

Manual

  1. Download and copy load-bash-alias.el into .emacs.d/lisp directory.
  2. Add the following elisp code to your Emacs config:
;; Tell Emacs where is your personal elisp lib directory
(add-to-list 'load-path "~/.emacs.d/lisp/")

;; load-bash-alias
;; https://github.com/daviderestivo/load-bash-alias
(load-library "load-bash-alias")
  1. Call load-bash-alias-load-bash-alias-into-eshell interactive function to convert bash aliases into eshell ones:
M-x load-bash-alias-load-bash-alias-into-eshell

Melpa

Add the following elisp snippet to your init.el:

(use-package load-bash-alias
  :ensure t
  :config
  (setq load-bash-alias-bashrc-file "~/.bashrc")
  (setq load-bash-alias-exclude-aliases-regexp "^alias magit\\|^alias oc"))

Customization

The location of your barshrc file can be customized by setting the value of load-bash-alias-bashrc-file variable:

(setq load-bash-alias-bashrc-file "~/.bashrc")

In addition it's possible to exclude certain bash aliases to be converted into eshell ones simply setting load-bash-alias-exclude-aliases-regexp:

(setq load-bash-alias-exclude-aliases-regexp "^alias magit\\|^alias oc")

Credits

The original ideas for this package has been taken from Skye. The original elisp code can be found here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].