X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Fsetup.sh;h=4276b42f67eb6393730900305f9092a570e1d05f;hb=e6f3e5907df86b2048452c362069f42c047d4564;hp=5e6866fea72bea1905843c02fea7ff095b0e4f58;hpb=239120feaa158bbb530d41c52ecca47415d85aec;p=config%2Fdotfiles.git diff --git a/shell/setup.sh b/shell/setup.sh index 5e6866f..4276b42 100755 --- a/shell/setup.sh +++ b/shell/setup.sh @@ -184,6 +184,14 @@ if ! test -d "$temperature"; then fi apply_optional_replacement screenrc \ temperature TEMPERATURE "$temperature" +# Settings for local hosts. +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 if installed tmux; then