aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_git_prompt.fish
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2013-07-31 15:25:29 -0700
committerGravatar David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au>2013-08-05 12:41:58 +0800
commit0bf531624949bd79f6986622cd667881ccf1d13a (patch)
tree5e22b3a9b8523d632784b8adbe4eda01622ad4c1 /share/functions/__fish_git_prompt.fish
parent969928e5008965e7d0114574274a533ef1f4fe42 (diff)
git_prompt: Default upstream_prefix to nothing
git.git's __git_ps1 doesn't have an upstream prefix. I'm not sure why one was added to our __fish_git_prompt, but it certainly shouldn't default to a space.
Diffstat (limited to 'share/functions/__fish_git_prompt.fish')
-rw-r--r--share/functions/__fish_git_prompt.fish5
1 files changed, 2 insertions, 3 deletions
diff --git a/share/functions/__fish_git_prompt.fish b/share/functions/__fish_git_prompt.fish
index 64d7a748..0515f16f 100644
--- a/share/functions/__fish_git_prompt.fish
+++ b/share/functions/__fish_git_prompt.fish
@@ -155,8 +155,7 @@
#
# The separator before the upstream information can be customized via
# __fish_git_prompt_char_upstream_prefix. It is colored like the rest of
-# the upstream information. It normallly defaults to a space ( ) and defaults
-# to nothing () when __fish_git_prompt_show_informative_status is set.
+# the upstream information. It defaults to nothing ().
#
#
# Turning on __fish_git_prompt_showcolorhints changes the colors as follows to
@@ -636,7 +635,7 @@ function __fish_git_prompt_validate_chars --description "__fish_git_prompt helpe
__fish_git_prompt_set_char __fish_git_prompt_char_upstream_behind '<' '↓'
__fish_git_prompt_set_char __fish_git_prompt_char_upstream_diverged '<>'
__fish_git_prompt_set_char __fish_git_prompt_char_upstream_equal '='
- __fish_git_prompt_set_char __fish_git_prompt_char_upstream_prefix ' '
+ __fish_git_prompt_set_char __fish_git_prompt_char_upstream_prefix ''
end