From 184b77ab6b59c85bab21e14ef12c066deacac4b3 Mon Sep 17 00:00:00 2001 From: Edwin Kofler Date: Wed, 27 Nov 2024 21:55:23 -0800 Subject: [PATCH] Delete etc/test.fish --- etc/test.fish | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 etc/test.fish diff --git a/etc/test.fish b/etc/test.fish deleted file mode 100644 index 159e97d8f..000000000 --- a/etc/test.fish +++ /dev/null @@ -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)'