Add eshell alias to cd to project root

This commit is contained in:
Jeremy Dormitzer 2020-02-07 10:29:48 -05:00
parent d5b3d29181
commit 9d266b10f2

View File

@ -2140,9 +2140,10 @@ A function to properly clear the eshell:
Some aliases:
#+BEGIN_SRC emacs-lisp
(defvar eshell-aliases
(setq eshell-aliases
'(("k" . "kubectl $*")
("kctx" . "kubectx $*")))
("kctx" . "kubectx $*")
("root" . "cd (projectile-project-root)")))
(add-hook
'eshell-mode-hook
(lambda ()