X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=shell%2Fsetup.sh;h=4276b42f67eb6393730900305f9092a570e1d05f;hp=394c46310d8c0001e53cb686e9e9f0bcd3f30353;hb=4b330f390e94e31f406cfaaad8e3397ebc3f89de;hpb=d2a8cb58415a3a7ddd5a8d65a8d27ec302481b30 diff --git a/shell/setup.sh b/shell/setup.sh index 394c463..4276b42 100755 --- a/shell/setup.sh +++ b/shell/setup.sh @@ -185,7 +185,10 @@ fi apply_optional_replacement screenrc \ temperature TEMPERATURE "$temperature" # Settings for local hosts. -if test -z "${SSH_CONNECTION:+set}"; then +if test -n "${SSH_CONNECTION:+set}"; then + echo 'screenrc: using dark blue for remote screens' + sed_i 's/sorendition = Bw/sorendition = bw/' screenrc +else echo 'screenrc: removing remote options' grep_i -v '(REMOTE)' screenrc fi