-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·31 lines (24 loc) · 966 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
#!/bin/bash
# Install brew command
if ! command -v brew >/dev/null; then
echo "Installing Homebrew ..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"
fi
if ! command -v stow >/dev/null; then
echo 'Install stow'
brew install stow
fi
echo 'Linking dotfiles'
make link
# Install apps & commands via brew
brew bundle install --global
# Install necessary python modules
pip3 install --user --requirement requirements.txt
# TODO: Install terminfo from Kitty
# curl https://raw.githubusercontent.com/alacritty/alacritty/master/extra/alacritty.info --output alacritty.info --silent
# echo "Enter password for \`sudo tic -e alacritty,alacritty-direct alacritty.info\`"
# sudo tic -e alacritty,alacritty-direct alacritty.info
# rm alacritty.info
# Install tmp the plugin manager for tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm