mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
term/eshell: remove use-package! shrink-path block
Just load it when it is needed, instead.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user