1

Add eshell-up package

This commit is contained in:
Jessie Hildebrandt 2023-02-05 00:13:21 -05:00
parent f421df7087
commit 9ed549a2bf

12
init.el
View File

@ -979,6 +979,18 @@ DOCSTRING is an optional form that is discarded upon expansion."
(global-diff-hl-mode) (global-diff-hl-mode)
(diff-hl-flydiff-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 ;; fish-completion
;; ---------------------------------- ;; ;; ---------------------------------- ;;