function fish_prompt
    set_color yellow
    prompt_pwd | tr -d '\n'
    set_color normal
    git_status
end

function fish_prompt
    set_color yellow
    prompt_pwd | tr -d '\n'
    set_color normal
    git_status
    printf "\$ "
end

Make prompt better for copy/pasting
Fish: Make prompt better for copy/pasting

justuswilhelm/pufferfish,justuswilhelm/pufferfish