mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
functions/fish_git_prompt: Fix space prefix for verbose showupstream
This created another local version of the variable just for the if-block. Can't say I love the space prefix, but then I think we have too many of these modes anyway.
This commit is contained in:
parent
f6226f0802
commit
a649c5293e
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ function __fish_git_prompt_show_upstream --description "Helper function for fish
|
|||
set -l prefix "$___fish_git_prompt_char_upstream_prefix"
|
||||
# Using two underscore version to check if user explicitly set to nothing
|
||||
if not set -q __fish_git_prompt_char_upstream_prefix
|
||||
set -l prefix " "
|
||||
set prefix " "
|
||||
end
|
||||
|
||||
echo $count | read -l behind ahead
|
||||
|
|
Loading…
Reference in a new issue