Updating Doom Emacs.

This commit is contained in:
Derek Taylor
2020-06-19 22:43:40 -05:00
parent 0f664d532a
commit a5c86c514a
453 changed files with 13527 additions and 12455 deletions

View File

@@ -12,11 +12,16 @@
(defun +eshell--current-git-branch ()
;; TODO Refactor me
(cl-destructuring-bind (status . output)
(doom-call-process "git" "name-rev" "--name-only" "HEAD")
(doom-call-process "git" "symbolic-ref" "-q" "--short" "HEAD")
(if (equal status 0)
(format " [%s]" output)
"")))
(cl-destructuring-bind (status . output)
(doom-call-process "git" "describe" "--all" "--always" "HEAD")
(if (equal status 0)
(format " [%s]" output)
"")))))
;;;###autoload
(defun +eshell-default-prompt-fn ()