1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23#!/bin/bash
# Setup vim
mkdir -p ~/.vim/backup/
mkdir -p ~/.vim/swap/
mkdir -p ~/.vim/undo/
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
mv ~/.bashrc ~/.bashrc-archive
# Symlink conf
ln -fs ~/dotfiles/vim ~/.vim
ln -fs ~/dotfiles/vimrc ~/.vimrc
ln -fs ~/dotfiles/bashrc ~/.bashrc
# TODO: Wrap this around a check that .config begins OR that this is being run on arch
ln -s ~/dotfiles/starship.toml ~/.config/starship.toml
if [[ $(uname) == "Darwin" ]]; then
ln -fs ~/dotfiles/tmux.conf ~/.tmux.conf
else
ln -fs ~/dotfiles/remote-tmux.conf ~/.tmux.conf
fi