summaryrefslogtreecommitdiff
path: root/cli/.config/fish/functions/fish_prompt.fish
blob: 2e22ab87c4a0c13da5da93efb93a7017a43c1452 (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 "$color_sep" \[
    prompt.user
    prompt.add blue (prompt_pwd)
    prompt.git
    prompt.add "$color_sep" \]
    prompt.add normal "$prompt_bang"

    echo "$prompt_string"
    set -e prompt_string
end