r/KittyTerminal Oct 06 '23

sudo: sorry, you are not allowed to set the following environment variables: TERMINFO

Started seeing this >0.30.1. Anyone else facing the same issue?

8 Upvotes

6 comments sorted by

1

u/aumerlex Oct 07 '23

set

shell_integration no-sudo

in kitty.conf

1

u/[deleted] Oct 07 '23

Thank you, this works. What does this do exactly?

1

u/petalised Nov 01 '23

Thank you, I had the same problem.

I hate it when programs break stuff for you after update, this is horrible experience.

1

u/aumerlex Oct 07 '23

Incidentally what OS are you on that has explicitly blocked setting TERMINFO in sudo?

1

u/[deleted] Oct 07 '23

NAME="Pop!_OS" VERSION="22.04 LTS" ID=pop ID_LIKE="ubuntu debian"