Add eshell-up package
This commit is contained in:
parent
f421df7087
commit
9ed549a2bf
12
init.el
12
init.el
@ -979,6 +979,18 @@ DOCSTRING is an optional form that is discarded upon expansion."
|
||||
(global-diff-hl-mode)
|
||||
(diff-hl-flydiff-mode))
|
||||
|
||||
;; ---------------------------------- ;;
|
||||
;; eshell-up
|
||||
;; ---------------------------------- ;;
|
||||
|
||||
(external-package eshell-up
|
||||
"Provides a shortcut for quickly navigating to parent directories in eshell."
|
||||
:config
|
||||
;; `eshell-command-aliases-list' is not available until the `em-alias' module is loaded
|
||||
(eval-after-load 'em-alias (lambda ()
|
||||
(add-to-list 'eshell-command-aliases-list '("up" "eshell-up $1"))
|
||||
(add-to-list 'eshell-command-aliases-list '("pk" "eshell-up-peek $1")))))
|
||||
|
||||
;; ---------------------------------- ;;
|
||||
;; fish-completion
|
||||
;; ---------------------------------- ;;
|
||||
|
Loading…
Reference in New Issue
Block a user