diff --git a/src/hooks/non-interactive-env/constants.ts b/src/hooks/non-interactive-env/constants.ts index a0696d0..d9a5937 100644 --- a/src/hooks/non-interactive-env/constants.ts +++ b/src/hooks/non-interactive-env/constants.ts @@ -6,4 +6,12 @@ export const NON_INTERACTIVE_ENV: Record = { GIT_TERMINAL_PROMPT: "0", GCM_INTERACTIVE: "never", HOMEBREW_NO_AUTO_UPDATE: "1", + // Block interactive editors - git rebase, commit, etc. + GIT_EDITOR: "true", + EDITOR: "true", + VISUAL: "true", + GIT_SEQUENCE_EDITOR: "true", + // Block pagers + GIT_PAGER: "cat", + PAGER: "cat", }