Use the same fish completion function for commands
This commit is contained in:
parent
01df828353
commit
297dea881d
@ -1,7 +1,6 @@
|
||||
function __ksi_completions
|
||||
set --local ct (commandline --current-token)
|
||||
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
||||
set tokens[1] "clone-in-kitty"
|
||||
printf "%s\n" $tokens $ct | command kitty +complete fish2
|
||||
end
|
||||
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
function __ksi_completions
|
||||
set --local ct (commandline --current-token)
|
||||
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
||||
set tokens[1] "edit-in-kitty"
|
||||
printf "%s\n" $tokens $ct | command kitty +complete fish2
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user