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:
|
;;; Commentary:
|
||||||
;;; Code:
|
;;; 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'."
|
should be as for `eshell-starship--git-interpret-branch-status'."
|
||||||
(let ((merge-conflicts nil)
|
(let ((merge-conflicts nil)
|
||||||
(status-chars nil))
|
(status-chars nil))
|
||||||
(while (not (= (pos-bol) (pos-eol)))
|
(while (not (eobp))
|
||||||
(cond
|
(cond
|
||||||
((= (char-after) ??)
|
((= (char-after) ??)
|
||||||
(push ?? status-chars))
|
(push ?? status-chars))
|
||||||
|
3
init.el
3
init.el
@ -110,9 +110,6 @@
|
|||||||
;; Set fonts
|
;; Set fonts
|
||||||
(add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font Mono-12"))
|
(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
|
;; Some settings for programming
|
||||||
(setq-default indent-tabs-mode nil
|
(setq-default indent-tabs-mode nil
|
||||||
tab-width 4
|
tab-width 4
|
||||||
|
Loading…
Reference in New Issue
Block a user