diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 09:07:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 09:07:45 +0000 |
commit | 6364ea0daac38f21228a9f88e1da4c98181a28d2 (patch) | |
tree | c29909d1b64d704c339ec0b0bf8533051b92b182 /auto-completion/fish/gita.fish | |
parent | Releasing debian version 0.16.6.1-2. (diff) | |
download | gita-6364ea0daac38f21228a9f88e1da4c98181a28d2.tar.xz gita-6364ea0daac38f21228a9f88e1da4c98181a28d2.zip |
Merging upstream version 0.16.7.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'auto-completion/fish/gita.fish')
-rw-r--r-- | auto-completion/fish/gita.fish | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/auto-completion/fish/gita.fish b/auto-completion/fish/gita.fish new file mode 100644 index 0000000..91580db --- /dev/null +++ b/auto-completion/fish/gita.fish @@ -0,0 +1,17 @@ + +function __fish_gita_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 + gita 8>&1 9>&2 1>&9 2>&1 + else + gita 8>&1 9>&2 1>/dev/null 2>&1 + end +end +complete --command gita -f -a '(__fish_gita_complete)' |