From e4d4abb08205753958553cb8d35981818bf7c894 Mon Sep 17 00:00:00 2001 From: anaxios Date: Fri, 9 Aug 2024 12:43:01 -0700 Subject: [PATCH] Removed unnecessary variable ARGS and directly passed command line arguments to the editor. --- aicommit | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aicommit b/aicommit index 9c54f60..1d21f47 100755 --- a/aicommit +++ b/aicommit @@ -79,6 +79,4 @@ cat "${TMP_FILE}" >".git/COMMIT_EDITMSG" rm "${TMP_FILE}" -ARGS=("${@-}") - -"${EDITOR}" "${ARGS[@]}" +"${EDITOR}" "${@-}"