aboutsummaryrefslogtreecommitdiff
path: root/inception
diff options
context:
space:
mode:
Diffstat (limited to 'inception')
-rwxr-xr-xinception25
1 files changed, 25 insertions, 0 deletions
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."