mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 06:05:39 +08:00
Fix: args -> argv in __fish_git_prompt
This commit is contained in:
parent
0302162d8e
commit
7d45e6f12f
|
@ -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"
|
||||
end
|
||||
set -l f "$w$i$s$u"
|
||||
set -l format $args[1]
|
||||
set -l format $argv[1]
|
||||
if test -z "$format"
|
||||
set format " (%s)"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user