]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/setup.sh
screenrc: only show hostname in hardstatus on remote systems
[config/dotfiles.git] / shell / setup.sh
index 5e6866fea72bea1905843c02fea7ff095b0e4f58..394c46310d8c0001e53cb686e9e9f0bcd3f30353 100755 (executable)
@@ -184,6 +184,11 @@ if ! test -d "$temperature"; then
 fi
 apply_optional_replacement screenrc \
     temperature TEMPERATURE "$temperature"
+# Settings for local hosts.
+if test -z "${SSH_CONNECTION:+set}"; then
+    echo 'screenrc: removing remote options'
+    grep_i -v '(REMOTE)' screenrc
+fi
 
 
 if installed tmux; then