Don't background pushdot

This commit is contained in:
Sage Vaillancourt 2023-12-13 16:05:37 -05:00
parent 06fad42045
commit a7d7e9d9b8
1 changed files with 2 additions and 2 deletions

View File

@ -70,9 +70,9 @@ source ~/.zsh_local
function pushdot {
cd "$DOT_DIR" || return 1
if [ $# -eq 0 ]; then
git commit -a && git push -u origin main &
git commit -a && git push -u origin main
else
git commit -a -m "$1" && git push -u origin main | /dev/null &
git commit -a -m "$1" && git push -u origin main
fi
cd -
}