Actually determine system architecture for gitstatus

This commit is contained in:
MitchMarq42 2023-03-10 18:39:21 -09:00
parent 194c551499
commit b1d9ec72ab

View File

@ -322,12 +322,12 @@ If the current window occupies the whole frame, split it."
(use-package gitstatus (use-package gitstatus
:elpaca (:host github :elpaca (:host github
:repo "igorepst/gitstatus-el") :repo "igorepst/gitstatus-el")
:custom
(system-architecture (car (split-string system-configuration "-")))
(gitstatusd-exe (format "~/.cache/gitstatus/gitstatusd-linux-%s"
system-architecture))
:after eshell :after eshell
:init (add-hook 'eshell-before-prompt-hook #'gitstatus-eshell-start)) :init
(setq system-architecture (car (split-string system-configuration "-")))
(setq gitstatusd-exe (format "~/.cache/gitstatus/gitstatusd-linux-%s"
system-architecture))
(add-hook 'eshell-before-prompt-hook #'gitstatus-eshell-start))
(use-package p11k (use-package p11k
:elpaca (:repo "https://git.mitchmarq42.xyz/mitch/p11k-el") :elpaca (:repo "https://git.mitchmarq42.xyz/mitch/p11k-el")
:after eshell :after eshell