-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_once_before_install-packages-darwin.sh.tmpl
100 lines (89 loc) · 2.04 KB
/
run_once_before_install-packages-darwin.sh.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/bin/bash
{{- if eq .chezmoi.os "darwin" -}}
# AWS CLI Install
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
rm AWSCLIV2.pkg
# Brewfile Bundle
brew bundle --no-lock --file=/dev/stdin <<EOF
tap "aws/tap"
tap "dbt-labs/dbt"
tap "hashicorp/tap"
brew "ack"
brew "aws/tap/aws-sam-cli"
brew "bash"
brew "bash-completion2"
brew "chezmoi"
brew "coreutils"
brew "cowsay"
brew "docker"
brew "docker-completion"
brew "docker-compose"
brew "findutils"
brew "fish"
brew "git"
brew "grep"
brew "hashicorp/tap/packer"
brew "hashicorp/tap/terraform"
brew "helm"
brew "htop"
brew "jq"
brew "jenv"
brew "kind"
brew "kubectl"
brew "lastpass-cli"
brew "lolcat"
brew "moreutils"
brew "openjdk"
brew "openjdk@8"
brew "openjdk@11"
brew "openjdk@17"
brew "openssh"
brew "p7zip"
brew "pipx"
brew "[email protected]"
brew "rust"
brew "stern"
brew "telnet"
brew "tmux"
brew "tree"
brew "vim"
cask "alt-tab"
cask "bettertouchtool"
cask "brave-browser"
cask "discord"
cask "iterm2"
cask "jetbrains-toolbox"
cask "keybase"
cask "obsidian"
cask "postman"
cask "scroll-reverser"
cask "slack"
cask "spotify"
cask "visual-studio-code"
cask "vlc"
cask "zoom"
EOF
{{ end -}}
# Set Fish as Default Shell
if ! fgrep -q "/usr/local/bin/fish" /etc/shells; then
echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
fi
chsh -s "/usr/local/bin/fish"
# Setup jenv
ln -s /usr/local/opt/jenv/libexec/fish/jenv.fish $HOME/.config/fish/functions/jenv.fish
ln -s /usr/local/opt/jenv/libexec/fish/export.fish $HOME/.config/fish/functions/export.fish
# Install virtualfish
pipx install virtualfish
vf install auto_activation global_requirements
# Install Fisher
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
# Install Fisher Plugins
fisher install jorgebucaran/nvm.fish
fisher install edc/bass
fisher install oh-my-fish/theme-cbjohnson
fisher install mgoodness/plugin-asp
# Install yawsso
pipx install yawsso
# Install Foundry
curl -L https://foundry.paradigm.xyz | bash