mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Add completion for git-commit
Modified files are provided for completion
This commit is contained in:
parent
bd3b4e03e9
commit
d92c08c9bb
@ -233,6 +233,7 @@ complete -f -c git -n '__fish_git_needs_command' -a clone -d 'Clone a repository
|
|||||||
### commit
|
### commit
|
||||||
complete -c git -n '__fish_git_needs_command' -a commit -d 'Record changes to the repository'
|
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' -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
|
# TODO options
|
||||||
|
|
||||||
### diff
|
### diff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user