From 9e43e74723bd98f35738768cfcdb156cb37f2bd6 Mon Sep 17 00:00:00 2001 From: Israel Chauca Fuentes Date: Fri, 8 Jul 2022 15:21:18 -0500 Subject: [PATCH] Add completion for the "expect" command --- share/completions/expect.fish | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 share/completions/expect.fish diff --git a/share/completions/expect.fish b/share/completions/expect.fish new file mode 100644 index 000000000..8611169c3 --- /dev/null +++ b/share/completions/expect.fish @@ -0,0 +1,9 @@ +complete -c expect -s c -r -d "execute command" +complete -c expect -s d -n "__fish_not_contain_opt -s d" -d "diagnostic output" +complete -c expect -s D -x -r -a "0 1" -n "__fish_not_contain_opt -s D" -d "debug value" +complete -c expect -s f -r -d "script path" +complete -c expect -s i -n "__fish_not_contain_opt -s i" -d "interactive mode" +complete -c expect -s v -n "__fish_not_contain_opt -s v" -d "print version" +complete -c expect -s N -n "__fish_not_contain_opt -s N" -d "skip global rc" +complete -c expect -s n -n "__fish_not_contain_opt -s n" -d "skip user rc" +complete -c expect -s b -n "__fish_not_contain_opt -s b" -d "read line by line"