!fixup fish_git_prompt: Fix variable name

This missed one use of $user_variable
This commit is contained in:
Fabian Homborg 2021-01-18 12:37:30 +01:00 committed by GitHub
parent 8b133833fa
commit bc6414aaa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -674,7 +674,7 @@ function __fish_git_prompt_set_char
set -l variable_done "$variable"_done
if not set -q $variable
set -g $variable (set -q $user_variable_name; and echo $$user_variable; or echo $char)
set -g $variable (set -q $user_variable_name; and echo $$user_variable_name; or echo $char)
end
end