This commit is contained in:
Sage Vaillancourt 2020-02-09 12:54:34 -05:00
parent f033992fc0
commit cd1c01ea00
1 changed files with 5 additions and 1 deletions

6
.zshrc
View File

@ -128,6 +128,10 @@ export EDITOR='vim'
function pushdot {
cd ~/.dotfiles &&
git add .* && git commit && git push -u origin master
if [ $# -eq 0 ]; then
git add .* && git commit && git push -u origin master
else
git add .* && git commit -m "$1" && git push -u origin master
fi
cd -
}