#!/usr/bin/env bash

DOTFILES=$HOME/.dotfiles

# Symlink dotfiles to our home.
ln -sf $HOME/code/dotfiles $DOTFILES

ln -sf $HOME/.solarized/dircolors-solarized/dircolors.256dark $HOME/.dircolors

# zsh
ln -sf $DOTFILES/zsh/zshrc $HOME/.zshrc
ln -sf $DOTFILES/zsh/zshenv $HOME/.zshenv
ln -sf $DOTFILES/zsh/zprofile $HOME/.zprofile

# vim
ln -sf $DOTFILES/vim/vimrc $HOME/.vimrc
ln -sf $DOTFILES/vim/gvimrc $HOME/.gvimrc
ln -sf $DOTFILES/vim/ftplugin $HOME/.vim/after/ftplugin
ln -sf $DOTFILES/vim/UltiSnips $HOME/.vim/UltiSnips

# tmux
ln -sf $DOTFILES/tmux/tmux.conf $HOME/.tmux.conf

# git
ln -sf $DOTFILES/git/gitconfig $HOME/.gitconfig
ln -sf $DOTFILES/git/gitignore_global $HOME/.gitignore_global

# TheSilverSearcher ignore list
ln -sf $DOTFILES/ag/agignore $HOME/.agignore

# ctags
ln -sf $DOTFILES/ctags/ctags $HOME/.ctags

#!/usr/bin/env bash

DOTFILES=$HOME/.dotfiles

# Symlink dotfiles to our home.
ln -sf $HOME/code/dotfiles $DOTFILES

ln -sf $HOME/.solarized/dircolors-solarized/dircolors.256dark $HOME/.dircolors

# zsh
ln -sf $DOTFILES/zsh/zshrc $HOME/.zshrc
ln -sf $DOTFILES/zsh/zshenv $HOME/.zshenv
ln -sf $DOTFILES/zsh/zprofile $HOME/.zprofile

# vim
ln -sf $DOTFILES/vim/vimrc $HOME/.vimrc
ln -sf $DOTFILES/vim/gvimrc $HOME/.gvimrc
ln -sf $DOTFILES/vim/ftplugin $HOME/.vim/after
ln -sf $DOTFILES/vim/UltiSnips $HOME/.vim/UltiSnips

# tmux
ln -sf $DOTFILES/tmux/tmux.conf $HOME/.tmux.conf

# git
ln -sf $DOTFILES/git/gitconfig $HOME/.gitconfig
ln -sf $DOTFILES/git/gitignore_global $HOME/.gitignore_global

# TheSilverSearcher ignore list
ln -sf $DOTFILES/ag/agignore $HOME/.agignore

# ctags
ln -sf $DOTFILES/ctags/ctags $HOME/.ctags

Fix bad symlink creation of `ftplugin` directory
Fix bad symlink creation of `ftplugin` directory
