diff --git a/.init/functions.sh b/.init/functions.sh index c78d65b3..96b2b206 100755 --- a/.init/functions.sh +++ b/.init/functions.sh @@ -11,8 +11,9 @@ is_ssh() { } _home_push() { + export msg="$1" git add -A - git commit -m "${1:-$CHORE_CHORE}" + git commit -m "${msg:-$CHORE_CHORE}" git push $2 $3 } @@ -113,4 +114,4 @@ _join_by() { if shift 2; then printf %s "$f" "${@/#/$d}" fi -} \ No newline at end of file +}