[EShell] Shortcut for calling ‘magit-status’
This commit is contained in:
parent
1126f85c6c
commit
1d1f48e47b
|
@ -69,6 +69,10 @@
|
||||||
(add-hook 'eshell-mode-hook
|
(add-hook 'eshell-mode-hook
|
||||||
'with-editor-export-editor)
|
'with-editor-export-editor)
|
||||||
|
|
||||||
|
(defun eshell/gst (&rest args)
|
||||||
|
(magit-status (pop args) nil)
|
||||||
|
(eshell/echo))
|
||||||
|
|
||||||
|
|
||||||
;; Git Completion
|
;; Git Completion
|
||||||
;; https://tsdh.wordpress.com/2013/05/31/eshell-completion-for-git-bzr-and-hg/
|
;; https://tsdh.wordpress.com/2013/05/31/eshell-completion-for-git-bzr-and-hg/
|
||||||
|
|
Loading…
Reference in New Issue