Fix completion for fish
This commit is contained in:
parent
e70c021371
commit
9225919112
@ -1,7 +1,7 @@
|
|||||||
function __ksi_completions
|
function __ksi_completions
|
||||||
set --local ct (commandline --current-token)
|
set --local ct (commandline --current-token)
|
||||||
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
||||||
printf "%s\n" $tokens $ct | command kitty-tool __complete__ fish
|
printf "%s\n" $tokens $ct | command kitty-tool __complete__ fish | source -
|
||||||
end
|
end
|
||||||
|
|
||||||
complete -f -c clone-in-kitty -a "(__ksi_completions)"
|
complete -f -c clone-in-kitty -a "(__ksi_completions)"
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
function __ksi_completions
|
function __ksi_completions
|
||||||
set --local ct (commandline --current-token)
|
set --local ct (commandline --current-token)
|
||||||
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
||||||
printf "%s\n" $tokens $ct | command kitty-tool __complete__ fish
|
printf "%s\n" $tokens $ct | command kitty-tool __complete__ fish | source -
|
||||||
end
|
end
|
||||||
|
|
||||||
complete -f -c edit-in-kitty -a "(__ksi_completions)"
|
complete -f -c edit-in-kitty -a "(__ksi_completions)"
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
function __ksi_completions
|
function __ksi_completions
|
||||||
set --local ct (commandline --current-token)
|
set --local ct (commandline --current-token)
|
||||||
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
||||||
printf "%s\n" $tokens $ct | command kitty-tool __complete__ fish
|
printf "%s\n" $tokens $ct | command kitty-tool __complete__ fish | source -
|
||||||
end
|
end
|
||||||
|
|
||||||
complete -f -c kitty-tool -a "(__ksi_completions)"
|
complete -f -c kitty-tool -a "(__ksi_completions)"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user