blob: 91580db51fbc92593918a96ce4d589f3ff260695 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)'
|