We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45e47e5 commit 8168c21Copy full SHA for 8168c21
src/init/starship.bash
@@ -21,7 +21,7 @@ starship_preexec() {
21
local PREV_LAST_ARG=$1
22
23
# Avoid restarting the timer for commands in the same pipeline
24
- if [ "$STARSHIP_PREEXEC_READY" = "true" ]; then
+ if [ "${STARSHIP_PREEXEC_READY:-}" = "true" ]; then
25
STARSHIP_PREEXEC_READY=false
26
STARSHIP_START_TIME=$(::STARSHIP:: time)
27
fi
0 commit comments