ssh{,d} & sudo: enable COLORTERM

This commit is contained in:
Aminda Suomalainen 2025-10-03 09:48:56 +03:00
parent fb13f59f72
commit f87e738c32
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
3 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,7 @@ Host *
# Send needed environment variables. I don't like setting wildcards # Send needed environment variables. I don't like setting wildcards
# and LC_ALL is disabled on purpouse. # and LC_ALL is disabled on purpouse.
SendEnv EDITOR LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TERM TMUX TZ SendEnv COLORTERM EDITOR LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TERM TMUX TZ
# "ssh will automatically add new host keys to the user's known_hosts file, but will not permit connections to hosts with changed host keys." # "ssh will automatically add new host keys to the user's known_hosts file, but will not permit connections to hosts with changed host keys."
StrictHostKeyChecking accept-new StrictHostKeyChecking accept-new

View File

@ -1,3 +1,3 @@
# Allow the client to send needed environment variables. I don't like # Allow the client to send needed environment variables. I don't like
# setting wildcards and LC_ALL is disabled on purpose. # setting wildcards and LC_ALL is disabled on purpose.
AcceptEnv EDITOR LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TMUX TERM TZ AcceptEnv COLORTERM EDITOR LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TMUX TERM TZ

View File

@ -0,0 +1,2 @@
# Remember these environment variables
env_keep += "TERM COLORTERM"