From 6bbd33eca45c29c47a6fdd4853a704c26e486b27 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 21 Feb 2019 08:41:56 +0530 Subject: [PATCH] ... --- docs/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.rst b/docs/faq.rst index f9a8d1102..9eed1bcf9 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -81,7 +81,7 @@ Shell providing the right terminfo path:: sudo … env TERMINFO=$HOME/.terminfo 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:: Defaults env_keep += "TERM TERMINFO"