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.
This commit is contained in:
parent
5030c18734
commit
ade2e247fa
1 changed files with 1 additions and 1 deletions
2
.zshrc
2
.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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue