@@ -5,15 +5,15 @@ set suffix (set_color $fish_color_cwd_root)'#' case '*' set suffix '>' end - set -l branch (git symbolic-ref HEAD 2>/dev/null) - set branch (string replace -r "^refs/heads/" "" $branch) + set -l branch (fossil branch current 2>/dev/null) if test -z "$branch" - set branch (fossil branch current 2>/dev/null) + set branch (git symbolic-ref HEAD 2>/dev/null) + set branch (string replace -r "^refs/heads/" "" $branch) end set -l vcs if test -n "$branch" set vcs (set_color $fish_color_vcs_braces)"(" \