diff --git a/share/functions/__fish_git_prompt.fish b/share/functions/__fish_git_prompt.fish index 97c4a6660..b2274256c 100644 --- a/share/functions/__fish_git_prompt.fish +++ b/share/functions/__fish_git_prompt.fish @@ -127,8 +127,6 @@ # stagedstate Defaults to green # flags Defaults to --bold blue -set -g ___fish_git_prompt_status_order stagedstate invalidstate dirtystate untrackedfiles - function __fish_git_prompt_show_upstream --description "Helper function for __fish_git_prompt" set -l show_upstream $__fish_git_prompt_showupstream set -l svn_prefix # For better SVN upstream information @@ -415,6 +413,8 @@ function __fish_git_prompt_dirty --description "__fish_git_prompt helper, tells echo $dirty end +set -g ___fish_git_prompt_status_order stagedstate invalidstate dirtystate untrackedfiles + function __fish_git_prompt_informative_status set -l changedFiles (git diff --name-status | cut -c 1-2)