#!/bin/bash

source ./config/header.sh

echo "Creating symlinks..."

mkdir -p ~/.atom
ln -sf "$PWD"/atom/* ~/.atom

ln -snf "$PWD" ~/.dotfiles
ln -snf "$PWD"/terminal/.bashrc ~/.bashrc
ln -snf "$PWD"/terminal/.bash_profile ~/.bash_profile
ln -snf "$PWD"/terminal/bash/completions.sh /usr/local/etc/bash_completion.d/dotfiles-completions.sh

ln -snf "$PWD"/terminal/.vimrc ~/.vimrc
ln -snf "$PWD"/terminal/.gitconfig ~/.gitconfig

mkdir -p ~/.ssh
ln -snf "$PWD"/ssh/ssh_config ~/.ssh/config

# Disable Bash Sessions feature in OS X El Capitan
touch ~/.bash_sessions_disable

#!/bin/bash

source ./config/header.sh

echo "Creating symlinks..."

mkdir -p ~/.atom
ln -sf "$PWD"/atom/* ~/.atom

ln -snf "$PWD" ~/.dotfiles
ln -snf "$PWD"/terminal/.bashrc ~/.bashrc
ln -snf "$PWD"/terminal/.bash_profile ~/.bash_profile
ln -snf "$PWD"/terminal/bash/completions.sh /usr/local/etc/bash_completion.d/dotfiles-completions.sh

ln -snf "$PWD"/terminal/.vimrc ~/.vimrc
ln -snf "$PWD"/terminal/.gitconfig ~/.gitconfig

mkdir -p ~/.ssh
ln -snf "$PWD"/ssh/ssh_config ~/.ssh/config

# Disable Bash Sessions feature in OS X El Capitan
touch ~/.bash_sessions_disable

source ./personal/config/create_symlinks.sh

Create personal symlinks after creating main symlinks
Create personal symlinks after creating main symlinks
