Skip to content

Commit b385d17

Browse files
┌ open-commit
�[?25l│ ○ Counting staged files �[999D�[2A�[J�[J│ ◇ 1 staged files: home/.chezmoiscripts/universal/run_before_05-system.sh.tmpl �[?25h�[?25l│ ○ Generating the commit message �[999D�[1A◒ Generating the commit message �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◐ Generating the commit message �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◓ Generating the commit message �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◑ Generating the commit message �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◒ Generating the commit message �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◐ Generating the commit message �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◓ Generating the commit message �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◑ Generating the commit message �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◒ Generating the commit message. �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◐ Generating the commit message. �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◓ Generating the commit message. �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◑ Generating the commit message. �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◒ Generating the commit message. �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◐ Generating the commit message. �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◓ Generating the commit message. �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[2A�[J�[J│ ◇ 📝 Commit message generated �[?25h│ └ Generated commit message: —————————————————— fix(run_before_05-system.sh.tmpl): update nix installation command to use sh -s for better compatibility and clarity —————————————————— �[?25l│ ◆ Confirm the commit message? │ ● Yes / ○ No └ �[1A �[?25h�[999D�[4A�[1B�[J◇ Confirm the commit message? │ Yes �[?25l│ ○ Committing the changes �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◒ Committing the changes �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[1A◐ Committing the changes �[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[1D�[0K�[999D�[2A�[J�[J│ ◇ ✖ Failed to generate the commit message �[?25hError: Command failed with exit code 129: git commit -m fix(run_before_05-system.sh.tmpl): update nix installation command to use sh -s for better compatibility and clarity --diff error: unknown option `diff' usage: git commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend] [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)] [-F <file> | -m <msg>] [--reset-author] [--allow-empty] [--allow-empty-message] [--no-verify] [-e] [--author=<author>] [--date=<date>] [--cleanup=<mode>] [--[no-]status] [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]] [(--trailer <token>[(=|:)<value>])...] [-S[<keyid>]] [--] [<pathspec>...] -q, --quiet suppress summary after successful commit -v, --verbose show diff in commit message template Commit message options -F, --file <file> read message from file --author <author> override author for commit --date <date> override date for commit -m, --message <message> commit message -c, --reedit-message <commit> reuse and edit message from specified commit -C, --reuse-message <commit> reuse message from specified commit --fixup [(amend|reword):]commit use autosquash formatted message to fixup or amend/reword specified commit --squash <commit> use autosquash formatted message to squash specified commit --reset-author the commit is authored by me now (used with -C/-c/--amend) --trailer <trailer> add custom trailer(s) -s, --signoff add a Signed-off-by trailer -t, --template <file> use specified template file -e, --edit force edit of commit --cleanup <mode> how to strip spaces and #comments from message --status include status in commit message template -S, --gpg-sign[=<key-id>] GPG sign commit Commit contents options -a, --all commit all changed files -i, --include add specified files to index for commit --interactive interactively add files -p, --patch interactively add changes -o, --only commit only specified files -n, --no-verify bypass pre-commit and commit-msg hooks --dry-run show what would be committed --short show status concisely --branch show branch information --ahead-behind compute full ahead/behind values --porcelain machine-readable output --long show status in long format (default) -z, --null terminate entries with NUL --amend amend previous commit --no-post-rewrite bypass post-rewrite hook -u, --untracked-files[=<mode>] show untracked files, optional modes: all, normal, no. (Default: all) --pathspec-from-file <file> read pathspec from file --pathspec-file-nul with --pathspec-from-file, pathspec elements are separated with NUL character at makeError (/Users/apple/.local/share/volta/tools/image/packages/opencommit/lib/node_modules/opencommit/out/cli.cjs:48250:13) at handlePromise (/Users/apple/.local/share/volta/tools/image/packages/opencommit/lib/node_modules/opencommit/out/cli.cjs:48706:29) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async generateCommitMessageFromGitDiff (/Users/apple/.local/share/volta/tools/image/packages/opencommit/lib/node_modules/opencommit/out/cli.cjs:64757:26) at async trytm (/Users/apple/.local/share/volta/tools/image/packages/opencommit/lib/node_modules/opencommit/out/cli.cjs:64695:18) at async commit (/Users/apple/.local/share/volta/tools/image/packages/opencommit/lib/node_modules/opencommit/out/cli.cjs:64897:35) { shortMessage: 'Command failed with exit code 129: git commit -m fix(run_before_05-system.sh.tmpl): update nix installation command to use sh -s for better compatibility and clarity --diff', command: 'git commit -m fix(run_before_05-system.sh.tmpl): update nix installation command to use sh -s for better compatibility and clarity --diff', escapedCommand: 'git commit -m "fix(run_before_05-system.sh.tmpl): update nix installation command to use sh -s for better compatibility and clarity" --diff', exitCode: 129, signal: undefined, signalDescription: undefined, stdout: '', stderr: "error: unknown option `diff'\n" + 'usage: git commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend]\n' + ' [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)]\n' + ' [-F <file> | -m <msg>] [--reset-author] [--allow-empty]\n' + ' [--allow-empty-message] [--no-verify] [-e] [--author=<author>]\n' + ' [--date=<date>] [--cleanup=<mode>] [--[no-]status]\n' + ' [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]\n' + ' [(--trailer <token>[(=|:)<value>])...] [-S[<keyid>]]\n' + ' [--] [<pathspec>...]\n' + '\n' + ' -q, --quiet suppress summary after successful commit\n' + ' -v, --verbose show diff in commit message template\n' + '\n' + 'Commit message options\n' + ' -F, --file <file> read message from file\n' + ' --author <author> override author for commit\n' + ' --date <date> override date for commit\n' + ' -m, --message <message>\n' + ' commit message\n' + ' -c, --reedit-message <commit>\n' + ' reuse and edit message from specified commit\n' + ' -C, --reuse-message <commit>\n' + ' reuse message from specified commit\n' + ' --fixup [(amend|reword):]commit\n' + ' use autosquash formatted message to fixup or amend/reword specified commit\n' + ' --squash <commit> use autosquash formatted message to squash specified commit\n' + ' --reset-author the commit is authored by me now (used with -C/-c/--amend)\n' + ' --trailer <trailer> add custom trailer(s)\n' + ' -s, --signoff add a Signed-off-by trailer\n' + ' -t, --template <file>\n' + ' use specified template file\n' + ' -e, --edit force edit of commit\n' + ' --cleanup <mode> how to strip spaces and #comments from message\n' + ' --status include status in commit message template\n' + ' -S, --gpg-sign[=<key-id>]\n' + ' GPG sign commit\n' + '\n' + 'Commit contents options\n' + ' -a, --all commit all changed files\n' + ' -i, --include add specified files to index for commit\n' + ' --interactive interactively add files\n' + ' -p, --patch interactively add changes\n' + ' -o, --only commit only specified files\n' + ' -n, --no-verify bypass pre-commit and commit-msg hooks\n' + ' --dry-run show what would be committed\n' + ' --short show status concisely\n' + ' --branch show branch information\n' + ' --ahead-behind compute full ahead/behind values\n' + ' --porcelain machine-readable output\n' + ' --long show status in long format (default)\n' + ' -z, --null terminate entries with NUL\n' + ' --amend amend previous commit\n' + ' --no-post-rewrite bypass post-rewrite hook\n' + ' -u, --untracked-files[=<mode>]\n' + ' show untracked files, optional modes: all, normal, no. (Default: all)\n' + ' --pathspec-from-file <file>\n' + ' read pathspec from file\n' + ' --pathspec-file-nul with --pathspec-from-file, pathspec elements are separated with NUL character\n', cwd: '/Users/apple/Desktop/install.doctor', failed: true, timedOut: false, isCanceled: false, killed: false } │ └ ✖ Command failed with exit code 129: git commit -m fix(run_before_05-system.sh.tmpl): update nix installation command to use sh -s for better compatibility and clarity --diff error: unknown option `diff' usage: git commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [--amend] [--dry-run] [(-c | -C | --squash) <commit> | --fixup [(amend|reword):]<commit>)] [-F <file> | -m <msg>] [--reset-author] [--allow-empty] [--allow-empty-message] [--no-verify] [-e] [--author=<author>] [--date=<date>] [--cleanup=<mode>] [--[no-]status] [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]] [(--trailer <token>[(=|:)<value>])...] [-S[<keyid>]] [--] [<pathspec>...] -q, --quiet suppress summary after successful commit -v, --verbose show diff in commit message template Commit message options -F, --file <file> read message from file --author <author> override author for commit --date <date> override date for commit -m, --message <message> commit message -c, --reedit-message <commit> reuse and edit message from specified commit -C, --reuse-message <commit> reuse message from specified commit --fixup [(amend|reword):]commit use autosquash formatted message to fixup or amend/reword specified commit --squash <commit> use autosquash formatted message to squash specified commit --reset-author the commit is authored by me now (used with -C/-c/--amend) --trailer <trailer> add custom trailer(s) -s, --signoff add a Signed-off-by trailer -t, --template <file> use specified template file -e, --edit force edit of commit --cleanup <mode> how to strip spaces and #comments from message --status include status in commit message template -S, --gpg-sign[=<key-id>] GPG sign commit Commit contents options -a, --all commit all changed files -i, --include add specified files to index for commit --interactive interactively add files -p, --patch interactively add changes -o, --only commit only specified files -n, --no-verify bypass pre-commit and commit-msg hooks --dry-run show what would be committed --short show status concisely --branch show branch information --ahead-behind compute full ahead/behind values --porcelain machine-readable output --long show status in long format (default) -z, --null terminate entries with NUL --amend amend previous commit --no-post-rewrite bypass post-rewrite hook -u, --untracked-files[=<mode>] show untracked files, optional modes: all, normal, no. (Default: all) --pathspec-from-file <file> read pathspec from file --pathspec-file-nul with --pathspec-from-file, pathspec elements are separated with NUL character
1 parent e84208d commit b385d17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

home/.chezmoiscripts/universal/run_before_05-system.sh.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,10 +752,10 @@ installNix() {
752752
if ! command -v nix-shell > /dev/null; then
753753
if [ -d /Applications ] && [ -d /System ]; then
754754
### macOS
755-
gum log -sl info 'Installing nix for macOS' && sh <(curl -L https://nixos.org/nix/install) --yes
755+
gum log -sl info 'Installing nix for macOS' && curl -L https://nixos.org/nix/install | sh -s -- --daemon --yes
756756
else
757757
### Linux
758-
gum log -sl info 'Installing nix' && sh <(curl -L https://nixos.org/nix/install) --daemon --yes
758+
gum log -sl info 'Installing nix' && curl -L https://nixos.org/nix/install | sh -s -- --daemon --yes
759759
fi
760760
fi
761761
}

0 commit comments

Comments
 (0)