aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/tools
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-04-23 17:53:40 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-04-23 17:53:40 -0700
commit879d03d0fe2173e1100786e39dd0bac0e6f72fa0 (patch)
treeff8e0fb2b8d0df6f801f4fcb420e2812f3474e8c /share/tools
parent7a1fc028e309beef98fda54060d8f77aac377e6d (diff)
Reset the color after printing the CWD in classic+git prompt
Fixes #2034
Diffstat (limited to 'share/tools')
-rw-r--r--share/tools/web_config/sample_prompts/classic_git.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/tools/web_config/sample_prompts/classic_git.fish b/share/tools/web_config/sample_prompts/classic_git.fish
index aa4527f7..39f3ab81 100644
--- a/share/tools/web_config/sample_prompts/classic_git.fish
+++ b/share/tools/web_config/sample_prompts/classic_git.fish
@@ -91,5 +91,5 @@ function fish_prompt --description 'Write out the prompt'
)
end
- echo -n -s (set_color $fish_color_user) "$USER" $normal @ (set_color $fish_color_host) "$__fish_prompt_hostname" $normal ' ' (set_color $color_cwd) (prompt_pwd) (__fish_git_prompt) $normal $prompt_status "$mode_str" "> "
+ echo -n -s (set_color $fish_color_user) "$USER" $normal @ (set_color $fish_color_host) "$__fish_prompt_hostname" $normal ' ' (set_color $color_cwd) (prompt_pwd) $normal (__fish_git_prompt) $normal $prompt_status "$mode_str" "> "
end