Allow running the launch actions by invoking the kitty executable with +open

This commit is contained in:
Kovid Goyal
2022-02-05 17:39:48 +05:30
parent ced61096df
commit 39c77a9486
5 changed files with 56 additions and 15 deletions

View File

@@ -114,6 +114,12 @@ URLs onto the kitty dock icon to open them with kitty. The default actions are:
* Run shell scripts in a shell
* Open SSH urls using the ssh command
These actions can also be executed from the command line by running::
open -a kitty.app file_or_url ... (on macOS only)
or
kitty +open file_or_url ...
You can customize these actions by creating a :file:`launch-actions.conf` file
in the kitty config directory, just like
the :file:`open-actions.conf` file above. For example: