From 1727ed7b5fb1398c0214e171a9bc6357eebc2df8 Mon Sep 17 00:00:00 2001 From: Kid <44045911+kidonng@users.noreply.github.com> Date: Fri, 19 Aug 2022 17:29:57 +0000 Subject: [PATCH] Missing completions for builtins --- share/completions/contains.fish | 2 ++ share/completions/disown.fish | 1 + share/completions/emit.fish | 1 + share/completions/pwd.fish | 3 +++ 4 files changed, 7 insertions(+) create mode 100644 share/completions/contains.fish create mode 100644 share/completions/disown.fish create mode 100644 share/completions/emit.fish create mode 100644 share/completions/pwd.fish diff --git a/share/completions/contains.fish b/share/completions/contains.fish new file mode 100644 index 000000000..b691c833d --- /dev/null +++ b/share/completions/contains.fish @@ -0,0 +1,2 @@ +complete -c contains -s h -l help -d "Display help" +complete -c contains -s i -l index -d "Print index of first match" diff --git a/share/completions/disown.fish b/share/completions/disown.fish new file mode 100644 index 000000000..07714febb --- /dev/null +++ b/share/completions/disown.fish @@ -0,0 +1 @@ +complete -c disown -s h -l help -d "Display help" diff --git a/share/completions/emit.fish b/share/completions/emit.fish new file mode 100644 index 000000000..ec41df80b --- /dev/null +++ b/share/completions/emit.fish @@ -0,0 +1 @@ +complete -c emit -s h -l help -d "Display help" diff --git a/share/completions/pwd.fish b/share/completions/pwd.fish new file mode 100644 index 000000000..ad1043a18 --- /dev/null +++ b/share/completions/pwd.fish @@ -0,0 +1,3 @@ +complete -c pwd -s h -l help -d "Display help" +complete -c pwd -s L -l logical -d "Print working directory without resolving symlinks" +complete -c pwd -s P -l physical -d "Print working directory with symlinks resolved"