From 4483be3bbb993e2858f1e7f7871273bcc92e82ad Mon Sep 17 00:00:00 2001 From: Von Random Date: Wed, 17 Aug 2016 11:47:07 +0300 Subject: [PATCH] centos has no sympathy for rxvt-unicode-256color, gotta work around it --- shellrc | 6 ++++-- xresources | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/shellrc b/shellrc index b7532b7..8d1924f 100644 --- a/shellrc +++ b/shellrc @@ -116,6 +116,10 @@ alias sss='command svn status' alias sdf='command svn diff' alias sci='command svn commit' alias sup='command svn up' + +# tmux +alias tmux='command tmux -2' +alias atmux='command tmux -2 attach' # }}} # {{{ common functions screenoff-disable() { xset -dpms; xset s off; } @@ -127,8 +131,6 @@ if ! is_ksh; then unhide-info() { unset hide_info; } fi -atmux() { tmux attach; } -rxvtmux() { curr_term=$TERM; TERM=rxvt-unicode-256color; tmux attach; TERM=$curr_term; unset curr_term; } tmuxrc() { tmux source-file "${HOME}/.tmux.conf"; tmux display-message "Config reloaded."; } if [[ -z "${DISPLAY}" ]]; then diff --git a/xresources b/xresources index 5b8c93a..72fbcfb 100644 --- a/xresources +++ b/xresources @@ -20,7 +20,7 @@ URxvt.saveLines: 10000 URxvt.iso14755: false URxvt.visualBell: false URxvt.urgentOnBell: true -URxvt.termName: rxvt-unicode-256color +URxvt.termName: rxvt-unicode URxvt.internalBorder: 1 URxvt.fading: 5 URxvt.pastableTabs: true