.profile: Init submodules with dotupdate
This commit is contained in:
parent
3771274cc1
commit
288a8bff17
2
.profile
2
.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
|
||||
|
Loading…
Reference in New Issue
Block a user