From 93d66cbd6e57e6c262c1b95739a00e19cb651a67 Mon Sep 17 00:00:00 2001 From: Eragos Date: Thu, 4 Aug 2016 19:56:36 +0200 Subject: [PATCH] Change install instructions and update function to handle git submodules --- README.md | 5 ++++- functions | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cbcefd5..e3f9587 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,10 @@ For more information, check out the [wiki](http://github.com/justone/dotfiles/wi $ cd ~ $ git clone https://github.com/Eragos/dotfiles.git .dotfiles - $ .dotfiles/bin/dfm install + $ cd .dotfiles + $ git submodule init + $ git submodule update + $ ./bin/dfm install ## Update diff --git a/functions b/functions index 5904b53..2eaf541 100644 --- a/functions +++ b/functions @@ -19,6 +19,10 @@ udot() { echo -e "$info" echo -e "" + echo -e "Update submodules..." + git submodule update + echo -e "" + if [ -z "$status" ]; then echo -e "Local changes:" echo -e "$gstatus"