term/eshell: remove use-package! shrink-path block
Just load it when it is needed, instead.
This commit is contained in:
parent
96c053c91d
commit
45223b3785
2 changed files with 1 additions and 4 deletions
|
@ -21,6 +21,7 @@
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +eshell-default-prompt-fn ()
|
(defun +eshell-default-prompt-fn ()
|
||||||
"Generate the prompt string for eshell. Use for `eshell-prompt-function'."
|
"Generate the prompt string for eshell. Use for `eshell-prompt-function'."
|
||||||
|
(require 'shrink-path)
|
||||||
(concat (if (bobp) "" "\n")
|
(concat (if (bobp) "" "\n")
|
||||||
(let ((pwd (eshell/pwd)))
|
(let ((pwd (eshell/pwd)))
|
||||||
(propertize (if (equal pwd "~")
|
(propertize (if (equal pwd "~")
|
||||||
|
|
|
@ -170,10 +170,6 @@ You should use `set-eshell-alias!' to change this.")
|
||||||
:commands eshell-up eshell-up-peek)
|
:commands eshell-up eshell-up-peek)
|
||||||
|
|
||||||
|
|
||||||
(use-package! shrink-path
|
|
||||||
:commands shrink-path-file)
|
|
||||||
|
|
||||||
|
|
||||||
(use-package! eshell-z
|
(use-package! eshell-z
|
||||||
:after eshell
|
:after eshell
|
||||||
:config
|
:config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue