Use 256-colour urxvt if available.
[profile.git] / .profile.d / variables.bashrc
index e13ecae..3a07542 100644 (file)
@@ -3,6 +3,10 @@ export SSHTERM_TITLE=-title
 export SSHTERM_EXEC=-e
 unset LANG
 unset XMODIFIERS #:-(
-export SSHTERM="urxvt"
+if find_working urxvt256c; then
+  export SSHTERM=urxvt256c
+else
+  export SSHTERM=urxvt
+fi
 export SSHTERM_TITLE="-title"
 export SSHTERM_EXEC="-e"