-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·53 lines (40 loc) · 1.36 KB
/
install.sh
File metadata and controls
executable file
·53 lines (40 loc) · 1.36 KB
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
#!/bin/sh
set -euo pipefail
# Vars
VAGRANT_PLUGINS=('vagrant-qemu')
VAGRANT_IMAGES=('perk/ubuntu-2204-arm64')
# Command Line Tool
xcode-select --install
# Change default terminal because I live in 1990
chsh -s /bin/bash
# Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
cp ./.bash_profile ${HOME}/.bash_profile
source ${HOME}/.bash_profile
# Brewww
brew update
brew upgrade
brew bundle
# Local
mkdir -p ${HOME}/.local/bin
# Vagrant
for vagrant_plugin in ${VAGRANT_PLUGINS[@]}; do
vagrant plugin install $vagrant_plugin;
done
for vagrant_image in ${VAGRANT_IMAGES[@]}; do
vagrant box add ${vagrant_image};
done
# Override .bash_profile
cp -R ./.config ${HOME}/
# NeoVim configs
BREW_DIR=/opt/homebrew/bin
HEREROCKS_DIR=${HOME}/.local/share/nvim/lazy-rocks/hererocks/bin
mkdir -p ${HEREROCKS_DIR}
ln -s ${BREW_DIR}/lua ${HEREROCKS_DIR}/lua
ln -s ${BREW_DIR}/luarocks ${HEREROCKS_DIR}/luarocks
# Tmux
cp .tmux.conf ${HOME}/
mkdir -p ${HOME}/.tmux/plugins ${HOME}/.config/tmux/plugins/tmux-plugins/ ${HOME}/.config/tmux/plugins/catpuccin
git clone git@github.com:tmux-plugins/tmux-cpu.git ${HOME}/.config/tmux/plugins/tmux-plugins/
git clone git@github.com:tmux-plugins/tmux-battery.git ${HOME}/.config/tmux/plugins/tmux-plugins/
git clone -b v2.1.3 git@github.com:catppuccin/tmux.git ${HOME}/.config/tmux/plugins/catppuccin/tmux