Shell integration now aliases sudo to make the kitty terminfo db available in the sudo environment

This should make terminfo completely transparent for most users on the
local machine and on remote machines that are connected to with the ssh
kitten.
This commit is contained in:
Kovid Goyal
2023-09-24 13:35:29 +05:30
parent 0c0c6b732f
commit d96fdb80ed
7 changed files with 28 additions and 4 deletions

View File

@@ -46,6 +46,8 @@ Detailed list of changes
0.30.1 [future]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Shell integration: Automatically alias sudo to make the kitty terminfo files available in the sudo environment. Can be turned off via :opt:`shell_integration`
- ssh kitten: Fix a regression in 0.28.0 that caused using ``--kitten`` to
override :file:`ssh.conf` not inheriting settings from :file:`ssh.conf`
(:iss:`6639`)

View File

@@ -91,6 +91,10 @@ no-complete
Note that for the fish shell this does not take effect, since fish already
comes with a kitty completion script.
no-sudo
Do not alias :program:`sudo` to ensure the kitty terminfo files are
available in the sudo environment
More ways to browse command output
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^