This commit is contained in:
Kovid Goyal 2019-02-21 08:41:56 +05:30
parent 494235750e
commit 6bbd33eca4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -81,7 +81,7 @@ Shell providing the right terminfo path::
sudo … env TERMINFO=$HOME/.terminfo bash -i sudo … env TERMINFO=$HOME/.terminfo bash -i
TERMINFO=/home/ORIGINALUSER/.terminfo exec bash -i TERMINFO=/home/ORIGINALUSER/.terminfo exec bash -i
Alternatively, you can configure sudo to preserve TERMINFO by running ``sudo You can configure sudo to preserve TERMINFO by running ``sudo
visudo`` and adding the following line:: visudo`` and adding the following line::
Defaults env_keep += "TERM TERMINFO" Defaults env_keep += "TERM TERMINFO"