From cd1c01ea00e9876c7bf662190f2af6498d9513cd Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sun, 9 Feb 2020 12:54:34 -0500 Subject: [PATCH] Added --- .zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 79937ce..f275f57 100644 --- a/.zshrc +++ b/.zshrc @@ -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 - }