Fix eshell-z
This commit is contained in:
parent
9157d3b3a6
commit
40c8d7bd0e
1 changed files with 5 additions and 3 deletions
|
@ -20,7 +20,6 @@ buffer.")
|
||||||
|
|
||||||
(defvar +eshell-aliases
|
(defvar +eshell-aliases
|
||||||
'(("q" "exit") ; built-in
|
'(("q" "exit") ; built-in
|
||||||
("z" "eshell-z $1") ; `eshell-z'
|
|
||||||
("bd" "eshell-up $1") ; `eshell-up'
|
("bd" "eshell-up $1") ; `eshell-up'
|
||||||
("rg" "rg --color=always")
|
("rg" "rg --color=always")
|
||||||
("ag" "ag --color=always")
|
("ag" "ag --color=always")
|
||||||
|
@ -146,7 +145,10 @@ redefines its keys every time `eshell-mode' is enabled."
|
||||||
:commands shrink-path-file)
|
:commands shrink-path-file)
|
||||||
|
|
||||||
|
|
||||||
(after! eshell-z
|
(def-package! eshell-z
|
||||||
|
:after eshell
|
||||||
|
:config
|
||||||
;; Use zsh's db if it exists, otherwise, store it in `doom-cache-dir'
|
;; Use zsh's db if it exists, otherwise, store it in `doom-cache-dir'
|
||||||
(unless (file-exists-p eshell-z-freq-dir-hash-table-file-name)
|
(unless (file-exists-p eshell-z-freq-dir-hash-table-file-name)
|
||||||
(setq eshell-z-freq-dir-hash-table-file-name (expand-file-name "z" eshell-directory-name))))
|
(setq eshell-z-freq-dir-hash-table-file-name
|
||||||
|
(expand-file-name "z" eshell-directory-name))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue