diff --git a/elisp/eshell-starship.el b/elisp/eshell-starship.el index 30ddc4a..17c3df8 100644 --- a/elisp/eshell-starship.el +++ b/elisp/eshell-starship.el @@ -1,4 +1,4 @@ -;;; eshell-starship.el --- Starship-like (https://starship.rs) prompt for eshell +;;; eshell-starship.el --- Starship-like (https://starship.rs) prompt for eshell -*- lexical-binding: t; -*- ;;; Commentary: ;;; Code: @@ -108,7 +108,7 @@ STASH should be t if there is current stashed data stash. AHEAD and BEHIND should be as for `eshell-starship--git-interpret-branch-status'." (let ((merge-conflicts nil) (status-chars nil)) - (while (not (= (pos-bol) (pos-eol))) + (while (not (eobp)) (cond ((= (char-after) ??) (push ?? status-chars)) diff --git a/init.el b/init.el index c767978..bd87f6d 100644 --- a/init.el +++ b/init.el @@ -110,9 +110,6 @@ ;; Set fonts (add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font Mono-12")) - ;; For source lookups - (setq find-function-C-source-directory "~/src/emacs/src/") - ;; Some settings for programming (setq-default indent-tabs-mode nil tab-width 4