mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Reset the color after printing the CWD in classic+git prompt
Fixes #2034
This commit is contained in:
parent
7a1fc028e3
commit
879d03d0fe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue