diff options
author | Jan Ernsting <jan.ernsting@gmail.com> | 2015-09-04 19:54:01 +0200 |
---|---|---|
committer | Jan Ernsting <jan.ernsting@gmail.com> | 2015-09-07 11:05:47 +0200 |
commit | d92c08c9bb723577653ebe6fc3282deb232be120 (patch) | |
tree | 46d04e8a852a804843acd921863f3c1e3fcfc7ea /share | |
parent | bd3b4e03e906017886bcefedf818f57c40df7d23 (diff) |
Add completion for git-commit
Modified files are provided for completion
Diffstat (limited to 'share')
-rw-r--r-- | share/completions/git.fish | 1 |
1 files changed, 1 insertions, 0 deletions
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 |