diff --git a/init.el b/init.el index dceb4ab..2df6b00 100644 --- a/init.el +++ b/init.el @@ -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 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 ;; ---------------------------------- ;;