Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 57402f5593
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (18 sloc) 0.587 kb
function die()
echo "${@}"
exit 1
# Add <strong>.old</strong> to any existing Vim file in the home directory
for i in $HOME/.vim $HOME/.vimrc $HOME/.gvimrc; do
if [[ ( -e $i ) || ( -h $i ) ]]; then
echo "${i} has been renamed to ${i}.old"
mv "${i}" "${i}.old" || die "Could not move ${i} to ${i}.old"
# Clone Janus into .vim
git clone $HOME/.vim \
|| die "Could not clone the repository to ${HOME}/.vim"
# Run rake inside .vim
cd $HOME/.vim || die "Could not go into the ${HOME}/.vim"
rake || die "Rake failed."
Jump to Line
Something went wrong with that request. Please try again.