Repair git update macro

This commit is contained in:
Lockszmith (@Kateryna) 2025-03-16 00:10:44 -04:00
parent fc682920ed
commit f08c0bc4e0
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ case "${1}" in
;;
git)
GIT_ARGS="$( printf '"%s" ' "${@:2}" )"
[ "$GIT_ARGS" != '"update"' ] || GIT_ARGS="pull --rebase --autostash"
[ "$GIT_ARGS" != '"update" ' ] || GIT_ARGS="pull --rebase --autostash"
exec sh -c 'cd user-config && git '"${GIT_ARGS}"'; exit $?'
;;
_load)