-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·35 lines (27 loc) · 907 Bytes
/
setup.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
32
33
34
35
#########
# SETUP #
#########
# This file installs & symlinks
# all necessary files. Enjoy!
# Execution Timeline
# 1. Install git-bash-prompt and nvm
# 2. Symlink dotfiles
# 3. Create empty .extras file
# 3. Reload .bash_profile
# echo "Installing git-bash-prompt..."
# brew install bash-git-prompt
# echo "Installing NVM..."
# curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash
echo "Symlinking dotfiles..."
ln -s $PWD/.bash_profile ~/.bash_profile
ln -s $PWD/.bashrc ~/.bashrc
ln -s $PWD/completions/.git-completion.sh ~/.git-completion.sh
ln -s $PWD/completions/.git-prompt.sh ~/.git-prompt.sh
ln -s $PWD/completions/.npm-completion.sh ~/.npm-completion.sh
ln -s $PWD/configs/.vimrc ~/.vimrc
ln -s $PWD/configs/.tmux.conf ~/.tmux.conf
echo "Creating empty .extras file..."
touch ~/.extras
echo "Reloading .bash_profile..."
source ~/.bash_profile
echo "All done!"