Skip to content

Commit 56a528e

Browse files
committed
Disable Gemini CLI colors for terminal background compatibility
NO_COLOR=1 produces monochrome output that looks correct on both light (RStudio) and dark (JupyterLab, VSCode) terminal backgrounds. Made-with: Cursor
1 parent 475e048 commit 56a528e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

features/src/workbench-tools/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ chown -R "${USERNAME}:" "${LIBRARIES_ENV_DIR}"
197197

198198
# Wrap gemini to set NO_BROWSER=1 per-invocation to force device code flow
199199
# instead of opening a browser window.
200-
printf 'function gemini() { NO_BROWSER=1 command gemini "$@"; }\n'
200+
printf 'function gemini() { NO_BROWSER=1 NO_COLOR=1 command gemini "$@"; }\n'
201201
} >> "${USER_HOME_DIR}/.bashrc"
202202

203203
# Allow .bashrc to be sourced in non-interactive shells

0 commit comments

Comments
 (0)