Skip to content

Commit

Permalink
fix(recipes): starship example respects line break config
Browse files Browse the repository at this point in the history
  • Loading branch information
olets committed Jul 10, 2020
1 parent d23c4b8 commit 483535c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ See <https://starship.rs/config/#prompt> for Starship's default order.
To show the Git Prompt Kit default prompt's Git prompt (as with the Spaceship section above), use

```toml
command = "print -P '$GIT_PROMPT_KIT_REF${GIT_PROMPT_KIT_HEAD:+${${GIT_PROMPT_KIT_LINEBREAK_BEFORE_GIT_FILES:+\n}:- }}${GIT_PROMPT_KIT_SHOW_EXTENDED_STATUS:+$GIT_PROMPT_KIT_STATUS_EXTENDED}${${GIT_PROMPT_KIT_SHOW_EXTENDED_STATUS:+$GIT_PROMPT_KIT_STATUS_EXTENDED}:+${${GIT_PROMPT_KIT_STATUS:-$GIT_PROMPT_KIT_ACTION}:+ }}$GIT_PROMPT_KIT_STATUS${GIT_PROMPT_KIT_STATUS:+${GIT_PROMPT_KIT_ACTION:+ }}$GIT_PROMPT_KIT_ACTION'"
command = "print -P '$GIT_PROMPT_KIT_REF${GIT_PROMPT_KIT_SHOW_EXTENDED_STATUS:+$GIT_PROMPT_KIT_STATUS_EXTENDED}${${GIT_PROMPT_KIT_SHOW_EXTENDED_STATUS:+$GIT_PROMPT_KIT_STATUS_EXTENDED}:+${${GIT_PROMPT_KIT_STATUS:-$GIT_PROMPT_KIT_ACTION}:+ }}$GIT_PROMPT_KIT_STATUS${GIT_PROMPT_KIT_STATUS:+${GIT_PROMPT_KIT_ACTION:+ }}$GIT_PROMPT_KIT_ACTION'"
```

## Customization examples
Expand Down

0 comments on commit 483535c

Please sign in to comment.