Compare commits

...

2 Commits

Author SHA1 Message Date
7dd94b20e5
Pull out mac specific brew apps
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2022-09-09 08:58:02 +01:00
6870e67472
Fix apt
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2022-09-09 08:40:27 +01:00

View File

@ -30,12 +30,14 @@ sudo chmod -R 755 /usr/local/share/zsh/site-functions
# Install tools # Install tools
BREW_TOOLS=( BREW_TOOLS=(
argocd bandwhich bat danielfoehrkn/switch/switch derailed/k9s/k9s dive doggo duf dust exa fd fzf argocd bandwhich bat danielfoehrkn/switch/switch derailed/k9s/k9s dive doggo duf dust exa fd fzf
git-delta go helm homebrew/cask-fonts/font-open-dyslexic-nerd-font htop jq kind krew git-delta go helm htop jq kind krew
kubectl kubectx kustomize node procs progress ripgrep rs/tap/curlie rust starship kubectl kubectx kustomize node procs progress ripgrep rs/tap/curlie rust starship
tektoncd/tools/tektoncd-cli tldr tailscale yq hashicorp/tap/vault stats tektoncd/tools/tektoncd-cli tldr tailscale yq hashicorp/tap/vault
tabby vale lastpass-cli jless macchina tz vmware-tanzu/carvel/kapp viddy tabby vale lastpass-cli jless macchina tz vmware-tanzu/carvel/kapp viddy
homeassistant-cli act dnsmasq gh kubebuilder golangci-lint homeassistant-cli act dnsmasq gh kubebuilder golangci-lint
) )
# Brew tools only available / needed on Mac
MAC_BREW_TOOLS=( pinentry-mac gpg gawk coreutils wget stats homebrew/cask-fonts/font-open-dyslexic-nerd-font )
CARGO_TOOLS=( bottom ) CARGO_TOOLS=( bottom )
NODE_TOOLS=( git-split-diffs ) NODE_TOOLS=( git-split-diffs )
KREW_TOOLS=( gs outdated tree stern ) KREW_TOOLS=( gs outdated tree stern )
@ -45,7 +47,7 @@ echo "🔵 Installing / updating tools"
# Install Debian/Ubuntu specific packages if apt exists # Install Debian/Ubuntu specific packages if apt exists
if command -v apt &>/dev/null; then if command -v apt &>/dev/null; then
echo "`apt` found on system, assuming Ubuntu/Debian and installing pre-requisites..." echo "'apt' found on system, assuming Ubuntu/Debian and installing pre-requisites..."
sudo apt install -y ${APT_TOOLS} sudo apt install -y ${APT_TOOLS}
fi fi
@ -105,7 +107,6 @@ case "${OSTYPE}" in
;; ;;
*darwin*) *darwin*)
# Mac specific setup # Mac specific setup
MAC_BREW_TOOLS=( pinentry-mac gpg gawk coreutils wget )
for tool in "${MAC_BREW_TOOLS[@]}" for tool in "${MAC_BREW_TOOLS[@]}"
do do
printf "${tool}..." printf "${tool}..."