summaryrefslogtreecommitdiff
path: root/Brewfile
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-09-17 19:45:23 +0100
committerIgor Soarez <igor@soarez.org>2026-09-17 19:45:23 +0100
commit13cc065ec014b86369dfe4ad60d1a43fa06fd251 (patch)
tree684690c61b7b59758c2aac132c65b81c86de0608 /Brewfile
dotfiles
Shell, editor and terminal configuration, the tools that go with them, and szecret, an age-based secret manager whose store lives elsewhere. History restarts here. What came before was not written to be read by anyone else, and carried machine names, addresses and an encrypted secret store; it is kept privately instead. What is left is meant to be safe on any machine, including one whose owner is not me: see CLAUDE.md for the rule it is written to.
Diffstat (limited to 'Brewfile')
-rw-r--r--Brewfile39
1 files changed, 39 insertions, 0 deletions
diff --git a/Brewfile b/Brewfile
new file mode 100644
index 0000000..44eb65d
--- /dev/null
+++ b/Brewfile
@@ -0,0 +1,39 @@
+# The account's tools: what this repo's own config and scripts use, so that a
+# machine with only this repo has what the shell, editor and terminals expect.
+# Per-machine apps and toolchains are not here; install those by hand, and
+# server software from whatever provisions that machine. install.sh applies this
+# with `brew bundle`, which only adds.
+
+# Something breaks without these.
+brew "tmux" # both terminals start every window in tmux
+brew "neovim" # the editor; vi, vim and git all call nvim
+brew "age" # szecret
+brew "git"
+brew "git-lfs" # config/git/config sets up the lfs filter
+brew "fzf" # zshrc loads its key bindings from Homebrew
+
+# Used when present.
+brew "bat" # man pages, fzf previews
+brew "lsd" # ls
+brew "ripgrep" # nvim's grep
+brew "the_silver_searcher"
+brew "gh" # config/profile hands it the GitHub token
+brew "mosh" # alacritty-mosh, mosh-tmux.sh
+brew "terminal-notifier" # bin/notify
+brew "fswatch" # bin/sz-wait-for
+brew "n" # node versions, under $N_PREFIX
+brew "bash-completion"
+brew "shellcheck"
+
+cask "alacritty"
+cask "hammerspoon"
+cask "neovide-app"
+# Only where no Ghostty is installed yet: a machine running the ghostty@tip
+# build would collide with a second cask over /Applications/Ghostty.app.
+cask "ghostty" unless File.exist?("/Applications/Ghostty.app")
+
+# Every Nerd Font Homebrew has, asked at run time rather than listed, so new
+# families arrive without editing this file. brew bundle evaluates it with no
+# brew on PATH, hence the full path it passes in HOMEBREW_BREW_FILE.
+brew_bin = ENV.fetch("HOMEBREW_BREW_FILE") { "#{ENV.fetch("HOMEBREW_PREFIX", "/opt/homebrew")}/bin/brew" }
+`"#{brew_bin}" search --cask nerd-font`.split.grep(/\Afont-.*-nerd-font\z/).each { |font| cask font }