From 9bc5157bf5a86da1d00702cae09c22f37a8dcb7c Mon Sep 17 00:00:00 2001 From: Benjamin Lindqvist Date: Fri, 25 May 2018 10:05:25 +0200 Subject: added require 'esh-ext to git branch --- feebleline.el | 1 + 1 file changed, 1 insertion(+) diff --git a/feebleline.el b/feebleline.el index f0cb497..f4e2d84 100644 --- a/feebleline.el +++ b/feebleline.el @@ -115,6 +115,7 @@ sent to `add-text-properties'.") (defun feebleline--git-branch-string () "Return current git branch as a string, or the empty string if pwd is not in a git repo (or the git command is not found)." (interactive) + (require 'esh-ext) (when (and (eshell-search-path "git") (locate-dominating-file default-directory ".git")) (let ((git-output (shell-command-to-string (concat "cd " default-directory " && git branch | grep '\\*' | sed -e 's/^\\* //'")))) -- cgit v1.2.3