diff --git a/p11k.el b/p11k.el index 4061acb..1d6eb37 100644 --- a/p11k.el +++ b/p11k.el @@ -242,12 +242,15 @@ Use 'window-width' to calculate the total final width." it) nil))) (branch (--> "git branch" (shell-command-to-string it) - (split-string it "\n" 'omit-nulls search-whitespace-regexp) - (if it (progn - (--filter (string-match-p (rx bol "* " (+ word)) it) it) - (split-string (car it)) - (cadr it)) - ""))) + (split-string it) + (cadr it) + ;; (split-string it "\n" 'omit-nulls search-whitespace-regexp) + ;; (if it (progn + ;; (--filter (string-match-p (rx bol "* " (+ word)) it) it) + ;; (split-string (car it)) + ;; (cadr it)) + ;; "") + )) (modcount (--> status-alist (--map (car it) it) (--count (string-match-p "M" it) it)