From d92c08c9bb723577653ebe6fc3282deb232be120 Mon Sep 17 00:00:00 2001 From: Jan Ernsting Date: Fri, 4 Sep 2015 19:54:01 +0200 Subject: Add completion for git-commit Modified files are provided for completion --- share/completions/git.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index 26f43077..bc939767 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 -- cgit v1.2.3