Fix the eshell start
This commit is contained in:
parent
7a423ccf78
commit
75a7db65c1
1 changed files with 3 additions and 2 deletions
|
@ -1084,8 +1084,9 @@ This function simply calls [[help-org-capture][org-capture]] with [[info:org#Tem
|
|||
#+end_src
|
||||
And finally, add our new functions to [[elisp(describe-variable 'eshell-virtual-targets)][eshell-virtual-targets]]:
|
||||
#+begin_src emacs-lisp
|
||||
(with-eval-after-load "eshell"
|
||||
(add-to-list 'eshell-virtual-targets '("/dev/e" ha-eshell-target-engineering-notebook nil))
|
||||
(add-to-list 'eshell-virtual-targets '("/dev/c" ha-eshell-target-engineering-notebook nil))
|
||||
(add-to-list 'eshell-virtual-targets '("/dev/c" ha-eshell-target-engineering-notebook nil)))
|
||||
#+end_src
|
||||
* Special Prompt
|
||||
Following [[http://blog.liangzan.net/blog/2012/12/12/customizing-your-emacs-eshell-prompt/][these instructions]], we build a better prompt with the Git branch in it (Of course, it matches my Bash prompt). First, we need a function that returns a string with the Git branch in it, e.g. ":master"
|
||||
|
|
Loading…
Reference in a new issue