mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Remove doom-bootstrap system (will be replaced)
This commit is contained in:
@ -1,17 +1,8 @@
|
||||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/sh/packages.el
|
||||
|
||||
;; requires shellcheck
|
||||
;; optional: zshdb bashdb
|
||||
|
||||
(when (featurep! :completion company)
|
||||
(package! company-shell))
|
||||
|
||||
;;
|
||||
(def-bootstrap! sh
|
||||
(when-let (progs (cl-remove-if 'executable-find '("zshdb" "bashdb" "shellcheck")))
|
||||
(let ((prog-str (s-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))))))
|
||||
|
Reference in New Issue
Block a user