gitstatus: determine architecture from `system-configuration'

This commit is contained in:
MitchMarq42 2023-03-09 14:52:10 -09:00
parent 66b5f225a9
commit 194c551499

View File

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