net-misc/openssh: send & accept COLORTERM env var #658540

For terminal emulators that set this variable, pass it along.

Url: https://gist.github.com/XVilka/8346728
Bug: https://bugs.gentoo.org/658540
This commit is contained in:
Mike Frysinger
2018-06-20 18:03:17 -04:00
parent 6fdefd62ae
commit 4db7e4be4e
2 changed files with 12 additions and 0 deletions

View File

@@ -345,6 +345,9 @@ tweak_ssh_configs() {
# Allow client to pass locale environment variables. #367017
AcceptEnv ${locale_vars[*]}
# Allow client to pass COLORTERM to match TERM. #658540
AcceptEnv COLORTERM
EOF
# Then the client config.
@@ -352,6 +355,9 @@ tweak_ssh_configs() {
# Send locale environment variables. #367017
SendEnv ${locale_vars[*]}
# Send COLORTERM to match TERM. #658540
SendEnv COLORTERM
EOF
if use pam ; then

View File

@@ -345,6 +345,9 @@ tweak_ssh_configs() {
# Allow client to pass locale environment variables. #367017
AcceptEnv ${locale_vars[*]}
# Allow client to pass COLORTERM to match TERM. #658540
AcceptEnv COLORTERM
EOF
# Then the client config.
@@ -352,6 +355,9 @@ tweak_ssh_configs() {
# Send locale environment variables. #367017
SendEnv ${locale_vars[*]}
# Send COLORTERM to match TERM. #658540
SendEnv COLORTERM
EOF
if use pam ; then