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