-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup
More file actions
executable file
·24 lines (17 loc) · 728 Bytes
/
setup
File metadata and controls
executable file
·24 lines (17 loc) · 728 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
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/so-fancy/diff-so-fancy.git ~/diff-so-fancy
mkdir ~/.bin
ln -sf ~/dotfiles/vim/.vimrc ~/.vimrc
ln -sf ~/dotfiles/zsh/.zshrc ~/.zshrc
ln -sf ~/dotfiles/tmux/.tmux.conf ~/.tmux.conf
ln -sf ~/dotfiles/tmux/.tmux.theme ~/.tmux.theme
ln -sf ~/dotfiles/git/.gitconfig ~/.gitconfig
ln -sf ~/dotfiles/git/.gitconfig.spinner ~/.gitconfig.spinner
ln -s ~/diff-so-fancy/diff-so-fancy ~/.bin/diff-so-fancy
if ! command -v fzy &> /dev/null; then
sudo apt-get install -y fzy
fi
if ! command -v rg &> /dev/null; then
sudo apt-get install -y ripgrep
fi
git config --global include.path '~/.gitconfig.spinner'