centos has no sympathy for rxvt-unicode-256color, gotta work around it
This commit is contained in:
parent
cf86e4d9aa
commit
4483be3bbb
2 changed files with 5 additions and 3 deletions
6
shellrc
6
shellrc
|
@ -116,6 +116,10 @@ alias sss='command svn status'
|
||||||
alias sdf='command svn diff'
|
alias sdf='command svn diff'
|
||||||
alias sci='command svn commit'
|
alias sci='command svn commit'
|
||||||
alias sup='command svn up'
|
alias sup='command svn up'
|
||||||
|
|
||||||
|
# tmux
|
||||||
|
alias tmux='command tmux -2'
|
||||||
|
alias atmux='command tmux -2 attach'
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ common functions
|
# {{{ common functions
|
||||||
screenoff-disable() { xset -dpms; xset s off; }
|
screenoff-disable() { xset -dpms; xset s off; }
|
||||||
|
@ -127,8 +131,6 @@ if ! is_ksh; then
|
||||||
unhide-info() { unset hide_info; }
|
unhide-info() { unset hide_info; }
|
||||||
fi
|
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."; }
|
tmuxrc() { tmux source-file "${HOME}/.tmux.conf"; tmux display-message "Config reloaded."; }
|
||||||
|
|
||||||
if [[ -z "${DISPLAY}" ]]; then
|
if [[ -z "${DISPLAY}" ]]; then
|
||||||
|
|
|
@ -20,7 +20,7 @@ URxvt.saveLines: 10000
|
||||||
URxvt.iso14755: false
|
URxvt.iso14755: false
|
||||||
URxvt.visualBell: false
|
URxvt.visualBell: false
|
||||||
URxvt.urgentOnBell: true
|
URxvt.urgentOnBell: true
|
||||||
URxvt.termName: rxvt-unicode-256color
|
URxvt.termName: rxvt-unicode
|
||||||
URxvt.internalBorder: 1
|
URxvt.internalBorder: 1
|
||||||
URxvt.fading: 5
|
URxvt.fading: 5
|
||||||
URxvt.pastableTabs: true
|
URxvt.pastableTabs: true
|
||||||
|
|
Loading…
Reference in a new issue