Skip to content

Commit

Permalink
[fish_prompt.fish] Explicitly set the color to normal at the end of t…
Browse files Browse the repository at this point in the history
…he prompt.
  • Loading branch information
lgarron committed Nov 7, 2024
1 parent e6299ac commit 41e1cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotfiles/fish/.config/fish/functions/fish_prompt.fish
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function fish_prompt --description 'Write out the prompt'
set suffix "" (set_color $_FISH_LCARS_BOTTOM) ""
end

echo -n -s (set_color $fish_color_user) "$USER" @ (set_color $color_host) (prompt_hostname) (set_color $_FISH_LCARS_BOTTOM) $suffix " "
echo -n -s (set_color $fish_color_user) "$USER" @ (set_color $color_host) (prompt_hostname) (set_color $_FISH_LCARS_BOTTOM) $suffix " " (set_color normal)
end

function _fish_prompt_preexec_blank_line --on-event fish_preexec
Expand Down

0 comments on commit 41e1cb3

Please sign in to comment.