From 352bd588135b62f0da548d22188c829143bdbe32 Mon Sep 17 00:00:00 2001 From: Igor Soarez Date: Mon, 21 Sep 2026 14:37:35 +0300 Subject: install.sh: install Homebrew, add bash, and seed the colour files Three things a machine set up from this repo alone hit on its first run: Homebrew was a dead end -- install.sh printed the command and exited, leaving the one prerequisite everything else needs to be run by hand. It installs it now, NONINTERACTIVE so it does not wait on a RETURN; the sudo password is still asked for, which is why this script is run by hand. bash was missing from the Brewfile, so bin/open and secrets/ ran under the 3.2 macOS ships and failed on `${v,,}`; config/bashrc also looks for the bash-completion 2.x that wants 4.2. Ghostty refused to start -- "error opening config-file ... error.FileNotFound" -- because config-file pointed at the colour file bin/theme writes, which does not exist until theme has run. The include is optional now (`?`), and this script seeds the colour files when a machine has none, leaving a machine that already has a theme alone. --- Brewfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Brewfile') diff --git a/Brewfile b/Brewfile index 44eb65d..5a87219 100644 --- a/Brewfile +++ b/Brewfile @@ -5,6 +5,9 @@ # with `brew bundle`, which only adds. # Something breaks without these. +brew "bash" # bin/open and secrets/ use bash 4 syntax (${v,,}); + # macOS ships 3.2, and config/bashrc looks for the + # bash-completion 2.x that needs 4.2 brew "tmux" # both terminals start every window in tmux brew "neovim" # the editor; vi, vim and git all call nvim brew "age" # szecret -- cgit v1.2.3