.profile: Init submodules with dotupdate

This commit is contained in:
Salt 2018-10-30 14:08:42 -05:00
parent 3771274cc1
commit 288a8bff17

View File

@ -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