1
1
Fork 0

fish: Restore color after prompt

This commit is contained in:
Jonathan Schleifer 2020-01-22 20:44:39 +00:00
parent 0647f973ac
commit 7a0ff40deb

View file

@ -17,6 +17,6 @@ function fish_prompt --description 'Write out the prompt'
end
echo -n -s (set_color $fish_color_host) (prompt_hostname) ' ' \
(set_color $fish_color_cwd) (prompt_pwd) (string join "" $vcs) \
(set_color $fish_color_suffix) "$suffix "
(set_color $fish_color_cwd) (prompt_pwd) (string join '' $vcs) \
(set_color $fish_color_suffix) $suffix (set_color normal) ' '
end