mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 17:07:44 +00:00
completions/git: don't comlete commits after "git difftool -- "
This commit is contained in:
parent
b8e7b6bcb0
commit
6c460f643c
1 changed files with 1 additions and 1 deletions
|
@ -1119,7 +1119,7 @@ end
|
|||
|
||||
### difftool
|
||||
complete -c git -n __fish_git_needs_command -a difftool -d 'Open diffs in a visual tool'
|
||||
complete -c git -n '__fish_git_using_command difftool' -k -a '(__fish_git_ranges)'
|
||||
complete -c git -n '__fish_git_using_command difftool; and not contains -- -- (commandline -opc)' -k -a '(__fish_git_ranges)'
|
||||
complete -c git -n '__fish_git_using_command difftool' -l cached -d 'Visually show diff of changes in the index'
|
||||
complete -f -c git -n '__fish_git_using_command difftool' -a '(__fish_git_files modified deleted modified-staged-deleted)'
|
||||
complete -f -c git -n '__fish_git_using_command difftool' -s g -l gui -d 'Use `diff.guitool` instead of `diff.tool`'
|
||||
|
|
Loading…
Reference in a new issue