From 96549b7a25178444e49dc20254b4cbc7bebb5a52 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 19 Jun 2015 21:37:45 -0300 Subject: Inception script (2) --- inception | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 inception (limited to 'inception') diff --git a/inception b/inception new file mode 100755 index 0000000..558dd6a --- /dev/null +++ b/inception @@ -0,0 +1,25 @@ +#!/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." -- cgit v1.2.3