Skip starship init for dumb bash sessions (#5255)

This commit is contained in:
Robert Stringer
2026-04-10 06:57:22 -04:00
committed by GitHub
parent c9cc4be4f9
commit b2b2903e22
+1 -1
View File
@@ -2,7 +2,7 @@ if command -v mise &> /dev/null; then
eval "$(mise activate bash)"
fi
if command -v starship &> /dev/null; then
if [[ $- == *i* ]] && [[ ${TERM:-} != "dumb" ]] && command -v starship &> /dev/null; then
eval "$(starship init bash)"
fi