mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Delete etc/test.fish (#1185)
This commit is contained in:
parent
2f4b57d52b
commit
1345c5977d
|
|
@ -1,20 +0,0 @@
|
|||
complete -e blah
|
||||
|
||||
function __fish_git_arg_number -a number
|
||||
set -l cmd (commandline -opc)
|
||||
test (count $cmd) -eq $number
|
||||
end
|
||||
|
||||
function __fish_git_extra_coauthor_name
|
||||
printf '%s\n' 'a' 'apple' 'ann'
|
||||
end
|
||||
|
||||
function __fish_git_extra_coauthor_email
|
||||
set -l cmd (commandline -opc)
|
||||
|
||||
set -l value $cmd[3]
|
||||
printf '%s\n' 'n' 'n1' 'n2' "$value"
|
||||
end
|
||||
|
||||
complete -c blah -f -n '__fish_git_using_command coauthor; and __fish_git_arg_number 2' -a '(__fish_git_extra_coauthor_name)'
|
||||
complete -c blah -f -n '__fish_git_using_command coauthor; and __fish_git_arg_number 3' -a '(__fish_git_extra_coauthor_email)'
|
||||
Loading…
Reference in a new issue