parent
fbbfb25702
commit
414ca86e3f
@ -79,6 +79,7 @@ def kitty_exe() -> str:
|
||||
return os.path.join(rpath, 'kitty')
|
||||
|
||||
|
||||
@run_once
|
||||
def kitten_exe() -> str:
|
||||
return os.path.join(os.path.dirname(kitty_exe()), 'kitten')
|
||||
|
||||
|
||||
@ -156,7 +156,7 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
|
||||
end
|
||||
end
|
||||
|
||||
function edit-in-kitty --wraps "kitten edit-in-kitty"
|
||||
function edit-in-kitty --wraps "kitten edit-in-kitty" -d "Edit the specified file in a kitty overlay window with your locally installed editor"
|
||||
kitten edit-in-kitty $argv
|
||||
end
|
||||
|
||||
|
||||
@ -235,7 +235,7 @@ type Options struct {
|
||||
func EntryPoint(parent *cli.Command) *cli.Command {
|
||||
sc := parent.AddSubCommand(&cli.Command{
|
||||
Name: "edit-in-kitty",
|
||||
Usage: "edit-in-kitty [options] file-to-edit",
|
||||
Usage: "[options] file-to-edit",
|
||||
ShortDescription: "Edit a file in a kitty overlay window",
|
||||
HelpText: "Edit the specified file in a kitty overlay window. Works over SSH as well.\n\n" +
|
||||
"For usage instructions see: https://sw.kovidgoyal.net/kitty/shell-integration/#edit-file",
|
||||
|
||||
@ -18,7 +18,7 @@ var _ = fmt.Print
|
||||
|
||||
func KittyToolEntryPoints(root *cli.Command) {
|
||||
root.Add(cli.OptionSpec{
|
||||
Name: "--version", Type: "bool-set", Help: "The current kitty version."})
|
||||
Name: "--version", Type: "bool-set", Help: "The current kitten version."})
|
||||
// @
|
||||
at.EntryPoint(root)
|
||||
// update-self
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user