about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-git.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-12-09 12:18:38 +0000
committerDavid Morgan <djm_uk@protonmail.com>2024-12-09 12:18:38 +0000
commit0d35bc03730420bcab501ca8102ded7641b14b7f (patch)
treeb59c410b936008da0c3749bc06071c3255f96939 /.emacs.d/lisp/init-git.el
parentf5cd1a0ec3e007247abcdaa33c5dbe60cd833377 (diff)
downloaddotfiles-0d35bc03730420bcab501ca8102ded7641b14b7f.tar.gz
Change eshell prompt
Diffstat (limited to '.emacs.d/lisp/init-git.el')
-rw-r--r--.emacs.d/lisp/init-git.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-git.el b/.emacs.d/lisp/init-git.el
index 6e3c815..10c9c78 100644
--- a/.emacs.d/lisp/init-git.el
+++ b/.emacs.d/lisp/init-git.el
@@ -77,6 +77,8 @@
   ("C-c g r" . my/magit-refresh-state)
   ("C-c g m" . my/magit-update-master)
   ("C-c g C-c" . my/magit-stage-and-commit-file)
+  ;; Used by eshell-prompt-function (see init-shell.el)
+  :commands (magit-get-shortname magit-file-status)
   :config
   ;; Requires the following gitconfig:
   ;; [alias]