mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Avoid spinning up the python interpreter just for running a shebang
This commit is contained in:
@@ -99,13 +99,13 @@ func KittyToolEntryPoints(root *cli.Command) {
|
||||
return
|
||||
},
|
||||
})
|
||||
// __confirm_and_run_shebang__
|
||||
// __shebang__
|
||||
root.AddSubCommand(&cli.Command{
|
||||
Name: "__confirm_and_run_shebang__",
|
||||
Name: "__shebang__",
|
||||
Hidden: true,
|
||||
OnlyArgsAllowed: true,
|
||||
Run: func(cmd *cli.Command, args []string) (rc int, err error) {
|
||||
return confirm_and_run_shebang(args)
|
||||
return run_shebang(args)
|
||||
},
|
||||
})
|
||||
// __convert_image__
|
||||
|
||||
Reference in New Issue
Block a user