fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
329cd7d42
master
1# gitk - The Git repository browser 2 3# for __fish_git_ranges and __fish_git_refs 4complete -C"git " > /dev/null 5 6complete -c gitk -n'not contains -- -- (commandline -xpc)' -l all -d'Show all refs (branches, tags, etc.)' 7complete -c gitk -n'not contains -- -- (commandline -xpc)' -l since=YYYY-MM-DD -x -d'Show commits more recent that a specific date' 8complete -c gitk -n'not contains -- -- (commandline -xpc)' -l until=YYYY-MM-DD -x -d'Show commits older than a specific date' 9complete -c gitk -n'not contains -- -- (commandline -xpc)' -l date-order -d'Sort commits by date when possible' 10complete -c gitk -n'not contains -- -- (commandline -xpc)' -l merge -d'On a merge conflict, show commits that modify conflicting files' 11complete -c gitk -n'not contains -- -- (commandline -xpc)' -l left-right -d'Mark which side of a symmetric difference a commit is reachable from' 12complete -c gitk -n'not contains -- -- (commandline -xpc)' -l full-history -d'When filtering history with -- path..., do not prune some history' 13complete -c gitk -n'not contains -- -- (commandline -xpc)' -l simplify-merges -d'Hide needless merges from history' 14complete -c gitk -n'not contains -- -- (commandline -xpc)' -l ancestry-path -d'Only display commits that exist directly on the ancestry chain between the range' 15complete -c gitk -n'not contains -- -- (commandline -xpc)' -l argscmd= -d'Command to be run to determine th revision range to show' 16complete -c gitk -n'not contains -- -- (commandline -xpc)' -l select-commit= -d'Select the specified commit after loading the graph, instead of HEAD' 17complete -c gitk -n'not contains -- -- (commandline -xpc)' -l select-commit=HEAD -d'Select the specified commit after loading the graph, instead of HEAD' 18complete -c gitk -n'not contains -- -- (commandline -xpc) && string match -rq -- "^--select-commit=" (commandline -ct)' -xa'(printf -- "--select-commit=%s\n" (__fish_git_refs))' 19complete -c gitk -n'not contains -- -- (commandline -xpc)' -s n -l max-count -x -d'Limit the number of commits to output' 20complete -c gitk -n'not contains -- -- (commandline -xpc)' -xa -L1 -d'-L<start>,<end>:<file> trace the evolution of a line range' 21complete -c gitk -n'not contains -- -- (commandline -xpc)' -xa -L. -d'-L<funcname>:<file> trace the evolution of a function name regex' 22complete -c gitk -n'not contains -- -- (commandline -xpc) && string match -rq -- "^-L[^:]*": (commandline -ct)' -xa'( 23set -l tok (string split -m 1 -- : (commandline -ct)) 24printf -- "$tok[1]:%s\n" (complete -C"__fish_command_without_completions $tok[2]") 25)' 26complete -c gitk -f -n'not contains -- -- (commandline -xpc)' -a'(__fish_git_ranges)' 27complete -c gitk -F -n'contains -- -- (commandline -xpc)'