Run pushdot in background.

This commit is contained in:
Sage Vaillancourt 2021-10-06 13:51:40 -04:00
parent def543131b
commit 182b3b7a8d
1 changed files with 2 additions and 2 deletions

4
.zshrc
View File

@ -67,9 +67,9 @@ fi
function pushdot {
cd ~/.dotfiles &&
if [ $# -eq 0 ]; then
git commit -a && git push -u origin master
git commit -a && git push -u origin master &
else
git commit -a -m "$1" && git push -u origin master
git commit -a -m "$1" && git push -u origin master &
fi
cd -
}