mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix: args -> argv in __fish_git_prompt
This commit is contained in:
parent
0302162d8e
commit
7d45e6f12f
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ function __fish_git_prompt --description "Prompt function for Git"
|
||||||
set u "$___fish_git_prompt_color_untrackedfiles$u$___fish_git_prompt_color_untrackedfiles_done"
|
set u "$___fish_git_prompt_color_untrackedfiles$u$___fish_git_prompt_color_untrackedfiles_done"
|
||||||
end
|
end
|
||||||
set -l f "$w$i$s$u"
|
set -l f "$w$i$s$u"
|
||||||
set -l format $args[1]
|
set -l format $argv[1]
|
||||||
if test -z "$format"
|
if test -z "$format"
|
||||||
set format " (%s)"
|
set format " (%s)"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue