From 45223b3785e5939d501b151d0bad4f7d562b7cb2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 19 Oct 2019 16:51:47 -0400 Subject: [PATCH] term/eshell: remove use-package! shrink-path block Just load it when it is needed, instead. --- modules/term/eshell/autoload/prompts.el | 1 + modules/term/eshell/config.el | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/term/eshell/autoload/prompts.el b/modules/term/eshell/autoload/prompts.el index c2f01a4cc..6d947bfc2 100644 --- a/modules/term/eshell/autoload/prompts.el +++ b/modules/term/eshell/autoload/prompts.el @@ -21,6 +21,7 @@ ;;;###autoload (defun +eshell-default-prompt-fn () "Generate the prompt string for eshell. Use for `eshell-prompt-function'." + (require 'shrink-path) (concat (if (bobp) "" "\n") (let ((pwd (eshell/pwd))) (propertize (if (equal pwd "~") diff --git a/modules/term/eshell/config.el b/modules/term/eshell/config.el index 0014a7def..0c97a9113 100644 --- a/modules/term/eshell/config.el +++ b/modules/term/eshell/config.el @@ -170,10 +170,6 @@ You should use `set-eshell-alias!' to change this.") :commands eshell-up eshell-up-peek) -(use-package! shrink-path - :commands shrink-path-file) - - (use-package! eshell-z :after eshell :config