Add eshell alias to cd to project root
This commit is contained in:
parent
d5b3d29181
commit
9d266b10f2
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user