2019-06-29 14:44:16 +02:00
|
|
|
[
|
|
|
|
{
|
|
|
|
message: <<EOT
|
|
|
|
Final git-prompt.zsh setup instructions:
|
2019-06-28 18:22:17 +02:00
|
|
|
|
2019-06-29 14:44:16 +02:00
|
|
|
To add the git status indicator to your prompt, source git-prompt.zsh in
|
|
|
|
one of your Zsh startup files using
|
2019-06-28 18:22:17 +02:00
|
|
|
|
2020-07-22 14:58:46 +02:00
|
|
|
source %%DATADIR%%/%%PORTNAME%%
|
2019-06-28 18:22:17 +02:00
|
|
|
|
2019-06-29 14:44:16 +02:00
|
|
|
Next, add ' $(gitprompt)%# ' to the end of the PROMPT value like in the
|
|
|
|
example below.
|
2019-06-28 18:22:17 +02:00
|
|
|
|
|
|
|
PROMPT='%n@%m %~ $(gitprompt)%# '
|
|
|
|
|
|
|
|
For details, refer to
|
|
|
|
|
|
|
|
%%DOCSDIR%%/README.md
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
https://github.com/woefe/git-prompt.zsh
|
2019-06-29 14:44:16 +02:00
|
|
|
EOT
|
|
|
|
type: install
|
|
|
|
}
|
|
|
|
]
|