From ade2e247fab17974d01f7af42cc7d15f044239d7 Mon Sep 17 00:00:00 2001 From: Trysdyn Black Date: Thu, 17 Oct 2024 00:29:05 -0700 Subject: [PATCH] Make starship prompt remember several flags Just calling `starship prompt` isn't enough. We need to pass several flags like execution time and status. Also I realize this makes the right prompt and continuation prompts not work but that's okay because I don't use those. --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index d610d6d..c68604d 100644 --- a/.zshrc +++ b/.zshrc @@ -43,7 +43,7 @@ _prompt () { fi # Echo main prompt - starship prompt + '/usr/bin/starship' prompt --terminal-width="$COLUMNS" --keymap="${KEYMAP:-}" --status="$STARSHIP_CMD_STATUS" --pipestatus="${STARSHIP_PIPE_STATUS[*]}" --cmd-duration="${STARSHIP_DURATION:-}" --jobs="$STARSHIP_JOBS_COUNT" } setopt prompt_subst