fish-shell/share/functions/__fish_argcomplete_complete.fish

11 lines
329 B
Fish
Raw Normal View History

function __fish_argcomplete_complete
2021-08-01 16:40:56 +00:00
set -lx _ARGCOMPLETE 1
set -lx _ARGCOMPLETE_IFS \n
set -lx _ARGCOMPLETE_SUPPRESS_SPACE 1
set -lx _ARGCOMPLETE_SHELL fish
set -lx COMP_LINE (commandline -pc)
set -lx COMP_POINT (string length (commandline -cp))
set -lx COMP_TYPE
$argv 8>&1 9>&2 2>/dev/null
end