From 16462b360ecfeae801696ed6a14b47dbcaba9877 Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Sun, 10 Mar 2024 18:57:13 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=20docs(pipx):=20Fish=20completions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/fish/completions/pipx.fish | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .config/fish/completions/pipx.fish diff --git a/.config/fish/completions/pipx.fish b/.config/fish/completions/pipx.fish new file mode 100644 index 0000000..79be035 --- /dev/null +++ b/.config/fish/completions/pipx.fish @@ -0,0 +1,17 @@ + +function __fish_pipx_complete + set -x _ARGCOMPLETE 1 + set -x _ARGCOMPLETE_DFS \t + set -x _ARGCOMPLETE_IFS \n + set -x _ARGCOMPLETE_SUPPRESS_SPACE 1 + set -x _ARGCOMPLETE_SHELL fish + set -x COMP_LINE (commandline -p) + set -x COMP_POINT (string length (commandline -cp)) + set -x COMP_TYPE + if set -q _ARC_DEBUG + pipx 8>&1 9>&2 1>&9 2>&1 + else + pipx 8>&1 9>&2 1>/dev/null 2>&1 + end +end +complete --command pipx -f -a '(__fish_pipx_complete)'