mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 23:14:55 +02:00
Rename kitty-tool to kitten
It's easier to type, and cuter. Also, most, if not all of the TUI parts of kitty's kittens will eventually be re-written into kitten. The only downside I can see is that we cant tab complete kitty anymore, but hopefully there will be less reason to run kitty from the shell as command line tools migrate to kitten. Meowrrrr!!!
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
function __ksi_completions
|
||||
set --local ct (commandline --current-token)
|
||||
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
||||
printf "%s\n" $tokens $ct | command kitty-tool __complete__ fish | source -
|
||||
printf "%s\n" $tokens $ct | command kitten __complete__ fish | source -
|
||||
end
|
||||
|
||||
complete -f -c clone-in-kitty -a "(__ksi_completions)"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
function __ksi_completions
|
||||
set --local ct (commandline --current-token)
|
||||
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
||||
printf "%s\n" $tokens $ct | command kitty-tool __complete__ fish | source -
|
||||
printf "%s\n" $tokens $ct | command kitten __complete__ fish | source -
|
||||
end
|
||||
|
||||
complete -f -c kitty-tool -a "(__ksi_completions)"
|
||||
complete -f -c kitten -a "(__ksi_completions)"
|
||||
@@ -1,7 +1,7 @@
|
||||
function __ksi_completions
|
||||
set --local ct (commandline --current-token)
|
||||
set --local tokens (commandline --tokenize --cut-at-cursor --current-process)
|
||||
printf "%s\n" $tokens $ct | command kitty-tool __complete__ fish | source -
|
||||
printf "%s\n" $tokens $ct | command kitten __complete__ fish | source -
|
||||
end
|
||||
|
||||
complete -f -c kitty -a "(__ksi_completions)"
|
||||
|
||||
@@ -156,8 +156,8 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
|
||||
end
|
||||
end
|
||||
|
||||
function edit-in-kitty --wraps "kitty-tool edit-in-kitty"
|
||||
kitty-tool edit-in-kitty $argv
|
||||
function edit-in-kitty --wraps "kitten edit-in-kitty"
|
||||
kitten edit-in-kitty $argv
|
||||
end
|
||||
|
||||
function __ksi_transmit_data -d "Transmit data to kitty using chunked DCS escapes"
|
||||
|
||||
Reference in New Issue
Block a user