.profile: Update dotupdate alias
This commit is contained in:
parent
8bccf82e72
commit
0d388e6d1b
6
.profile
6
.profile
@ -52,7 +52,11 @@ fi
|
||||
if [ -d "$HOME/.dotfiles" ]; then
|
||||
dotcmd='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
||||
alias dot="$dotcmd"
|
||||
alias dotupdate="$dotcmd submodule update --recursive --remote --rebase && $dotcmd pull && $dotcmd commit -am \"Submodules: Update\""
|
||||
alias dotupdate="\
|
||||
$dotcmd submodule -q foreach git checkout master && \
|
||||
$dotcmd submodule -q foreach git pull && \
|
||||
$dotcmd pull && \
|
||||
$dotcmd status"
|
||||
fi
|
||||
|
||||
# Aliases for common utilities
|
||||
|
Loading…
Reference in New Issue
Block a user