summaryrefslogtreecommitdiff
path: root/cli/.config/fish/functions/fish_prompt.fish
blob: 5d2dd5b17d2652250b2d2c6fa26a3a0fb894f01d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function fish_prompt
    set -g prompt_string
    set -g prev_color
    prompt.add white \[
    prompt.user
    prompt.add blue (prompt_pwd)
    prompt.git
    prompt.add white \]
    prompt.add normal $prompt_bang

    echo $prompt_string
    set -e prompt_string
end