Accept any number of arguments instead of needing to use strings

This commit is contained in:
Thomas Avé 2024-09-14 17:52:29 +02:00
parent b669606c4d
commit 86a7542e71
1 changed files with 2 additions and 2 deletions

View File

@ -86,10 +86,10 @@ function register_key() {
function push() { function push() {
git add -A git add -A
if [ -z "$1" ]; then if [ -z "$@" ]; then
git commit -m "`date`" git commit -m "`date`"
else else
git commit -m "$1" git commit -m "\"$@\""
fi fi
git push git push
} }