term/eshell: remove use-package! shrink-path block

Just load it when it is needed, instead.
This commit is contained in:
Henrik Lissner 2019-10-19 16:51:47 -04:00
parent 96c053c91d
commit 45223b3785
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 1 additions and 4 deletions

View file

@ -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 "~")