diff --git a/share/completions/git.fish b/share/completions/git.fish index 26f430774..bc939767d 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -233,6 +233,7 @@ complete -f -c git -n '__fish_git_needs_command' -a clone -d 'Clone a repository ### commit complete -c git -n '__fish_git_needs_command' -a commit -d 'Record changes to the repository' complete -c git -n '__fish_git_using_command commit' -l amend -d 'Amend the log message of the last commit' +complete -c git -n '__fish_git_using_command commit' -a '(__fish_git_modified_files)' # TODO options ### diff