mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-10-05 04:57:21 +02:00
ssh{,d} & sudo: enable COLORTERM
This commit is contained in:
parent
fb13f59f72
commit
f87e738c32
@ -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
|
||||||
|
@ -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
|
||||||
|
2
etc/sudoers.d/envkeep-extras
Normal file
2
etc/sudoers.d/envkeep-extras
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Remember these environment variables
|
||||||
|
env_keep += "TERM COLORTERM"
|
Loading…
x
Reference in New Issue
Block a user