From cdc73131cab95fc1fa9551c297ee5d565fecee9e Mon Sep 17 00:00:00 2001 From: omarriott Date: Wed, 5 Dec 2012 22:27:16 +1100 Subject: [PATCH] Fix rprompt doc mistake in modules/git/README.md --- modules/git/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/git/README.md b/modules/git/README.md index 806bc9ca..f3cf1ecb 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.