{{ if eq .chezmoi.hostname "devterm" -}}
#!/bin/sh
sudo apt install \
  brightnessctl \
  git \
  libncurses-dev \
  libssl-dev \
  lynx \
  ripgrep \
  tmux \
  tree \
  wget \
  zsh \
  -y
{{ else if eq .chezmoi.os "darwin" -}}
#!/bin/sh
sudo port install \
  colima \
  curl \
  docker \
  docker-compose \
  git \
  helix \
  ripgrep \
  tmux \
  tree \
  wget \
  zellij \
  zsh
{{ else if eq .chezmoi.hostname "spleen" -}}
#!/bin/sh
sudo apt install \
  ripgrep \
  tmux \
  tree \
  wget \
  -y

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /rustup.sh && chmod u+x /rustup.sh && /rustup.sh -y
git clone https://github.com/helix-editor/helix.git /helix
export PATH=$PATH:$HOME/.cargo/bin && cargo install --path helix-term && hx --grammar fetch && hx --grammar build
{{ end }}