1

Add "lsl" eshell alias

This commit is contained in:
Jessie Hildebrandt 2023-02-05 00:17:07 -05:00
parent 9ed549a2bf
commit d80337e27e

View File

@ -507,6 +507,15 @@ is already an active session to switch to or focus."
("C-c j" . tab-line-switch-to-prev-tab) ("C-c j" . tab-line-switch-to-prev-tab)
("C-c l" . tab-line-switch-to-next-tab))) ("C-c l" . tab-line-switch-to-next-tab)))
;; `eshell-command-aliases-list' is not available until the `em-alias' module is loaded,
;; so the alias additions are set up here
(editor-feature em-alias
"Handles creation and management of command aliases for eshell."
:config
(eval-after-load 'em-alias (lambda ()
(add-to-list 'eshell-command-aliases-list '("lsl" "ls -lh $1")))))
;; ---------------------------------- ;; ;; ---------------------------------- ;;
;; files ;; files
;; ---------------------------------- ;; ;; ---------------------------------- ;;