ZIM3HQRGGZ3MXFVFID436LOM5SDQF3LM3CVBOU3VUI3HRTN6HGJQC # Hack; fish_config only copies the fish_prompt function (see #736)if not set -q -g __fish_classic_git_functions_definedset -g __fish_classic_git_functions_defined
# Hack; fish_config only copies the fish_prompt function (see #736)if not set -q -g __fish_classic_git_functions_definedset -g __fish_classic_git_functions_defined
function __fish_repaint_user --on-variable fish_color_user --description "Event handler, repaint when fish_color_user changes"if status --is-interactivecommandline -f repaint ^/dev/nullendend
function __fish_repaint_user --on-variable fish_color_user --description "Event handler, repaint when fish_color_user changes"if status --is-interactivecommandline -f repaint ^/dev/nullendend
function __fish_repaint_host --on-variable fish_color_host --description "Event handler, repaint when fish_color_host changes"if status --is-interactivecommandline -f repaint ^/dev/nullendend
function __fish_repaint_host --on-variable fish_color_host --description "Event handler, repaint when fish_color_host changes"if status --is-interactivecommandline -f repaint ^/dev/nullendendfunction __fish_repaint_status --on-variable fish_color_status --description "Event handler; repaint when fish_color_status changes"if status --is-interactivecommandline -f repaint ^/dev/nullendend
function __fish_repaint_status --on-variable fish_color_status --description "Event handler; repaint when fish_color_status changes"if status --is-interactivecommandline -f repaint ^/dev/nullendend
function __fish_repaint_bind_mode --on-variable fish_key_bindings --description "Event handler; repaint when fish_key_bindings changes"if status --is-interactivecommandline -f repaint ^/dev/nullendend
function __fish_repaint_bind_mode --on-variable fish_key_bindings --description "Event handler; repaint when fish_key_bindings changes"if status --is-interactivecommandline -f repaint ^/dev/nullendend
# initialize our new variablesif not set -q __fish_classic_git_prompt_initializedset -qU fish_color_useror set -U fish_color_user -o greenset -qU fish_color_hostor set -U fish_color_host -o cyanset -qU fish_color_statusor set -U fish_color_status redset -U __fish_classic_git_prompt_initializedendend
# initialize our new variablesif not set -q __fish_classic_git_prompt_initializedset -qU fish_color_useror set -U fish_color_user -o greenset -qU fish_color_hostor set -U fish_color_host -o cyanset -qU fish_color_statusor set -U fish_color_status redset -U __fish_classic_git_prompt_initializedendend
set -l color_cwdset -l prefixset -l suffixswitch $USERcase root toorif set -q fish_color_cwd_rootset color_cwd $fish_color_cwd_rootelseset color_cwd $fish_color_cwdendset suffix '#'case '*'set color_cwd $fish_color_cwdset suffix '$'end
set -l color_cwdset -l prefixset -l suffixswitch $USERcase root toorif set -q fish_color_cwd_rootset color_cwd $fish_color_cwd_rootelseset color_cwd $fish_color_cwdendset suffix '#'case '*'set color_cwd $fish_color_cwdset suffix '$'end
set -l prompt_statusif test $last_status -ne 0set prompt_status ' ' (set_color $fish_color_status) "[$last_status]" "$normal"end
echo -n -s (set_color $fish_color_user) "$USER" $normal @ (set_color $fish_color_host) (prompt_hostname) $normal ' ' (set_color $color_cwd) (prompt_pwd) $normal (__fish_vcs_prompt) \n "└--" $normal $prompt_status "-"$suffix " "
# what actually gets printed to the screenecho -ns (set_color $fish_color_user) "$USER"echo -ns $normal @ (set_color $fish_color_host) (prompt_hostname)echo -ns $normal ' ' (set_color $color_cwd) (prompt_pwd)echo -ns $normal (__fish_vcs_prompt)echo $normalecho -s "└--" $prompt_status "-"$suffix " "