Fix SHELL env var in open-actions.conf and launch-actions.conf

Only the executable path is used when expanding `$SHELL`.
Also fix the non-working example `{SHELL}` in the documentation.
This commit is contained in:
pagedown
2023-01-23 14:15:27 +08:00
parent 1f00c27097
commit 352f940010
2 changed files with 10 additions and 4 deletions

View File

@@ -68,6 +68,13 @@ some special variables, documented below:
The path, query and fragment portions of the URL, without any
unquoting.
``EDITOR``
The terminal based text editor. The configured :opt:`editor` in
:file:`kitty.conf` is preferred.
``SHELL``
The path to the shell. The configured :opt:`shell` in :file:`kitty.conf` is
preferred, without arguments.
.. note::
You can use the :opt:`action_alias` option just as in :file:`kitty.conf` to