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