-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall
More file actions
executable file
·31 lines (24 loc) · 832 Bytes
/
install
File metadata and controls
executable file
·31 lines (24 loc) · 832 Bytes
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
#!/usr/bin/env bash
set -euo pipefail
#
# install everything
#
# get Homebrew
if ! command -v brew &>/dev/null; then
if [[ "$(uname)" == 'Linux' ]]; then
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
/home/linuxbrew/.linuxbrew/bin/brew bundle install
/home/linuxbrew/.linuxbrew/bin/brew/opt/fzf/install
else
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew bundle install
fi
fi
# symlink stuff
stow --no-folding --restow config -t "$HOME"
# install tpm
[[ ! -d ~/.tmux/plugins/tpm ]] && git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# make directory for personal repos
mkdir -p "$HOME/src/chriskim06"
# create empty file for secrets/tokens and local aliases
touch "$HOME/.private"