#!/bin/bash # # The inception. # # Parameters BASENAME="`basename $0`" DIRNAME="`dirname $0`" # Setup ( cd $DIRNAME echo "Initializing submodules..." git submodule update --init echo "Cloning default dotfiles..." ./metadot/metadot clone default echo "Loading all dotfiles..." ./metadot/metadot load --all ) # Teardown echo "Done. Logout and login again to apply all changes."