diff --git a/modules/git/README.md b/modules/git/README.md index 806bc9c..f3cf1ec 100644 --- a/modules/git/README.md +++ b/modules/git/README.md @@ -292,7 +292,7 @@ Second, format how the above attributes are displayed in prompts. 'prompt' ' git(%b)' \ 'rprompt' '[%R]' -Last, add `$git_info[prompt]` to `$PROMPT` and `$git_info[prompt]` to +Last, add `$git_info[prompt]` to `$PROMPT` and `$git_info[rprompt]` to `$RPROMPT` respectively and call `git-info` in the `prompt_name_preexec` hook function.