From 93fee67983dcebc4eea97e71325ed0572ef03741 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Thu, 13 Oct 2022 17:22:31 +0200 Subject: [PATCH] Remove obsolete eshell magit command Just use `magit` directly, eshell understands this. --- init.el | 1 - site-lisp/db-eshell.el | 4 ---- 2 files changed, 5 deletions(-) diff --git a/init.el b/init.el index 4e07da3..fb52498 100644 --- a/init.el +++ b/init.el @@ -2592,7 +2592,6 @@ With given ARG, display files in `db/important-document-path’." :commands (db/run-or-hide-eshell eshell-clear-buffer eshell/default-prompt-function - eshell/gst eshell-insert-history pcomplete/git)) diff --git a/site-lisp/db-eshell.el b/site-lisp/db-eshell.el index f538392..58eeba5 100644 --- a/site-lisp/db-eshell.el +++ b/site-lisp/db-eshell.el @@ -145,10 +145,6 @@ formatting." (if (zerop (user-uid)) "#" "$") (propertize " " 'face '(:weight bold))))) -(defun eshell/gst (&rest args) - (magit-status (pop args) nil) - (eshell/echo)) - (defun eshell-insert-history () "Displays the eshell history to select and insert back into your eshell." ;; directly taken from Howard Abrams