-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
67 lines (59 loc) · 921 Bytes
/
install.sh
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
#/bin/zsh
# set -xe
install_on_macos() {
brew_softwares=(
ansible
bandwhich
bingrep
cmake
dnscrypt-proxy
dnsmasq
dunst
elixir
exa
exercism
fd
git
git-lfs
gnupg
htop
httpie
hyperfine
imagemagick
lua
miniserve
neovim
nmap
node
p7zip
procs
ripgrep
sk
terraform
tmux
unrar
wget
yarn
youtube-dl
ytop
)
cargo_softwares=(
cargo-edit
cargo-web
du-dust
exa
hx
)
echo "Installing Homebrew..."
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
echo "Installing packages..."
echo brew install "${brew_softwares[*]}"
echo "Installing cargo plugins..."
echo cargo install "${cargo_softwares[*]}"
}
install_links() {
ln -sf $PWD/tmux/.tmux.conf $HOME
}
case "$OSTYPE" in
darwin*) install_on_macos ;;
esac