mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Add git commit --fixup completions (#3021)
This commit is contained in:
parent
b055b8440c
commit
4244a6e6fe
1 changed files with 2 additions and 0 deletions
|
@ -335,6 +335,8 @@ complete -f -c git -n '__fish_git_using_command clone' -l recursive -d 'Initiali
|
|||
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 -f -c git -n '__fish_git_using_command commit' -a '(__fish_git_modified_files)'
|
||||
complete -f -c git -n '__fish_git_using_command commit' -l fixup -d 'Fixup commit to be used with rebase --autosquash'
|
||||
complete -f -c git -n '__fish_git_using_command commit; and __fish_contains_opt fixup' -a '(__fish_git_commits)'
|
||||
# TODO options
|
||||
|
||||
### diff
|
||||
|
|
Loading…
Reference in a new issue