Skip starship init for dumb bash sessions (#5255)
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ if command -v mise &> /dev/null; then
|
|||||||
eval "$(mise activate bash)"
|
eval "$(mise activate bash)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v starship &> /dev/null; then
|
if [[ $- == *i* ]] && [[ ${TERM:-} != "dumb" ]] && command -v starship &> /dev/null; then
|
||||||
eval "$(starship init bash)"
|
eval "$(starship init bash)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user