[EShell] Shortcut for calling ‘magit-status’

This commit is contained in:
Daniel - 2018-07-19 13:50:02 +02:00
parent 1126f85c6c
commit 1d1f48e47b
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@
(add-hook 'eshell-mode-hook
'with-editor-export-editor)
(defun eshell/gst (&rest args)
(magit-status (pop args) nil)
(eshell/echo))
;; Git Completion
;; https://tsdh.wordpress.com/2013/05/31/eshell-completion-for-git-bzr-and-hg/