diff options
author | Konrad Borowski <x.fix@o2.pl> | 2014-06-01 09:39:07 +0200 |
---|---|---|
committer | Konrad Borowski <x.fix@o2.pl> | 2014-06-01 09:39:28 +0200 |
commit | d97e31b4ab00480e0bd95658b8cbb210e0b5b543 (patch) | |
tree | 84d61218b2db2e0e150e95ab2f4d33284c9d17d1 /share/functions/__terlar_git_prompt.fish | |
parent | ce4081af934e37876f3b6e641935364b4d8bbfaf (diff) |
git prompt shouldn't export variables.
Diffstat (limited to 'share/functions/__terlar_git_prompt.fish')
-rw-r--r-- | share/functions/__terlar_git_prompt.fish | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/share/functions/__terlar_git_prompt.fish b/share/functions/__terlar_git_prompt.fish index afe5904c..c440e140 100644 --- a/share/functions/__terlar_git_prompt.fish +++ b/share/functions/__terlar_git_prompt.fish @@ -1,24 +1,24 @@ -set -gx fish_color_git_clean green -set -gx fish_color_git_staged yellow -set -gx fish_color_git_dirty red +set -g fish_color_git_clean green +set -g fish_color_git_staged yellow +set -g fish_color_git_dirty red -set -gx fish_color_git_added green -set -gx fish_color_git_modified blue -set -gx fish_color_git_renamed magenta -set -gx fish_color_git_copied magenta -set -gx fish_color_git_deleted red -set -gx fish_color_git_untracked yellow -set -gx fish_color_git_unmerged red +set -g fish_color_git_added green +set -g fish_color_git_modified blue +set -g fish_color_git_renamed magenta +set -g fish_color_git_copied magenta +set -g fish_color_git_deleted red +set -g fish_color_git_untracked yellow +set -g fish_color_git_unmerged red -set -gx fish_prompt_git_status_added '✚' -set -gx fish_prompt_git_status_modified '*' -set -gx fish_prompt_git_status_renamed '➜' -set -gx fish_prompt_git_status_copied '⇒' -set -gx fish_prompt_git_status_deleted '✖' -set -gx fish_prompt_git_status_untracked '?' -set -gx fish_prompt_git_status_unmerged '!' +set -g fish_prompt_git_status_added '✚' +set -g fish_prompt_git_status_modified '*' +set -g fish_prompt_git_status_renamed '➜' +set -g fish_prompt_git_status_copied '⇒' +set -g fish_prompt_git_status_deleted '✖' +set -g fish_prompt_git_status_untracked '?' +set -g fish_prompt_git_status_unmerged '!' -set -gx fish_prompt_git_status_order added modified renamed copied deleted untracked unmerged +set -g fish_prompt_git_status_order added modified renamed copied deleted untracked unmerged function __terlar_git_prompt --description 'Write out the git prompt' set -l branch (git rev-parse --abbrev-ref HEAD ^/dev/null) |