For terminal emulators that set this variable, pass it along.
Url: https://gist.github.com/XVilka/
8346728
Bug: https://bugs.gentoo.org/658540
# 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.
# Send locale environment variables. #367017
SendEnv ${locale_vars[*]}
+
+ # Send COLORTERM to match TERM. #658540
+ SendEnv COLORTERM
EOF
if use pam ; then
# 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.
# Send locale environment variables. #367017
SendEnv ${locale_vars[*]}
+
+ # Send COLORTERM to match TERM. #658540
+ SendEnv COLORTERM
EOF
if use pam ; then