mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-16 15:56:52 -05:00
Implement bootstrap functionality + make bootstrap (WIP)
This commit is contained in:
@@ -3,3 +3,16 @@
|
||||
|
||||
(when (featurep! :completion company)
|
||||
(package! company-shell))
|
||||
|
||||
;;
|
||||
(def-bootstrap! sh
|
||||
(when-let (progs (cl-remove-if 'executable-find '("zshdb" "bashdb" "shellcheck")))
|
||||
(let ((prog-str (string-join progs " ")))
|
||||
(pcase (doom-system-os)
|
||||
('arch
|
||||
(sudo "pacman --noconfirm -S %s" prog-str))
|
||||
('debian
|
||||
(sudo "apt-get install -y %s" prog-str))
|
||||
('macos
|
||||
(sh "brew install %s" prog-str))))
|
||||
t))
|
||||
|
Reference in New Issue
Block a user