Add some docs on why no-sudo might be needed

This commit is contained in:
Kovid Goyal 2023-11-03 08:26:54 +05:30
parent d113a6c2cf
commit 954b7f87a5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -93,7 +93,11 @@ no-complete
no-sudo
Do not alias :program:`sudo` to ensure the kitty terminfo files are
available in the sudo environment
available in the sudo environment. This is needed if you have sudo
configured to disable setting of environment variables on the command line.
By default, if sudo is configured to allow all commands for the current
user, setting of environment variables at the command line is also allowed.
Only if commands are restricted is this needed.
More ways to browse command output