.profile: Pull in dotupdate
This commit is contained in:
parent
9dfb60cdfc
commit
a76a465cd6
2
.profile
2
.profile
@ -53,6 +53,8 @@ if [ -d "$HOME/.dotfiles" ]; then
|
|||||||
dotcmd='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
dotcmd='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
||||||
alias dot="$dotcmd"
|
alias dot="$dotcmd"
|
||||||
alias dotupdate="\
|
alias dotupdate="\
|
||||||
|
printf 'Pulling...\n'; \
|
||||||
|
$dotcmd pull
|
||||||
printf 'Updating submodules...\n'; \
|
printf 'Updating submodules...\n'; \
|
||||||
$dotcmd submodule update --init; \
|
$dotcmd submodule update --init; \
|
||||||
printf 'Checking out masters...\n'; \
|
printf 'Checking out masters...\n'; \
|
||||||
|
Loading…
Reference in New Issue
Block a user