From 288a8bff17a0319e329510d3bca4cf75a5b0d4ad Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 30 Oct 2018 14:08:42 -0500 Subject: [PATCH] .profile: Init submodules with dotupdate --- .profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.profile b/.profile index 801eab1e..52550b25 100755 --- a/.profile +++ b/.profile @@ -54,6 +54,8 @@ if [ -d "$HOME/.dotfiles" ]; then alias dot="$dotcmd" alias dotupdate="\ printf 'Updating submodules...\n'; \ + $dotcmd submodule update --init; \ + printf 'Checking out masters...\n'; \ $dotcmd submodule -q foreach --recursive 'git checkout -q master && git pull' && \ $dotcmd status" fi