Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b84a8056d7
Fetching contributors…

Cannot retrieve contributors at this time

executable file 83 lines (69 sloc) 1.632 kB
#!/bin/zsh
# vim
if [ ! -e ~/.vim ]; then
ln -s ~/.dotfiles/vim ~/.vim
fi
if [ ! -e ~/.vimrc ]; then
ln -s ~/.dotfiles/vimrc ~/.vimrc
fi
if [ ! -e ~/.gvimrc ]; then
ln -s ~/.dotfiles/gvimrc ~/.gvimrc
fi
# gemrc
if [ ! -e ~/.gemrc ]; then
ln -s ~/.dotfiles/gemrc ~/.gemrc
fi
# screenrc
if [ ! -e ~/.screenrc ]; then
ln -s ~/.dotfiles/screenrc ~/.screenrc
fi
# tmux
if [ ! -e ~/.tmux.conf ]; then
ln -s ~/.dotfiles/tmux.conf ~/.tmux.conf
fi
# ackrc
if [ ! -e ~/.ackrc ]; then
ln -s ~/.dotfiles/ackrc ~/.ackrc
fi
# Submodules
git submodule status | grep '^\-.*'
if [ "$?" = "0" ]; then
git submodule init
git submodule update
fi
# oh-my-zsh
if [ ! -e ~/.oh-my-zsh ]; then
ln -s ~/.dotfiles/oh-my-zsh ~/.oh-my-zsh
fi
if [ ! -e ~/.zshrc ]; then
ln -s ~/.dotfiles/zshrc ~/.zshrc
fi
if [ ! -e ~/.zshenv ]; then
ln -s ~/.dotfiles/zshenv ~/.zshenv
fi
cd ~/.dotfiles/zsh_custom_plugins
for plugin_dir in *
do
mkdir -p ~/.dotfiles/oh-my-zsh/custom/plugins
if [ ! -e ~/.dotfiles/oh-my-zsh/custom/plugins/$plugin_dir ]; then
ln -s ~/.dotfiles/zsh_custom_plugins/$plugin_dir ~/.dotfiles/oh-my-zsh/custom/plugins/$plugin_dir
fi
done
cd ~/.dotfiles
if [ ! -e ~/.dotfiles/vim/bundle/command-t/ruby/command-t/ext.bundle ]; then
if [ -e ~/.rvm/bin/rvm ]; then
rubyv=`type -p ruby`
if [ $rubyv != 'ruby is /usr/bin/ruby' ]; then
echo
echo !!!!!!!!!!!!!!!!!!!!!!!!!!!
echo
echo rvm is installed, set ruby to system and rerun script!
echo
echo !!!!!!!!!!!!!!!!!!!!!!!!!!!
echo
exit
fi
fi
cd ~/.dotfiles/vim/bundle/command-t/
rake make
fi
Jump to Line
Something went wrong with that request. Please try again.