Some minor refactors
This commit is contained in:
parent
5c74237b4f
commit
882f2a12e3
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user