From b00b574275f88a942edbbf2c68fe136952cb4cc2 Mon Sep 17 00:00:00 2001 From: Von Random Date: Fri, 13 Nov 2015 19:13:15 +0300 Subject: [PATCH] fix weechat weirdness with the power of aliases --- shellrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shellrc b/shellrc index 070d582..f8da010 100644 --- a/shellrc +++ b/shellrc @@ -103,6 +103,11 @@ alias sss='command svn status' alias sdf='command svn diff' alias sci='command svn commit' alias sup='command svn up' + +# weechat (for some reason fails with screen-256color +if [[ -n ${TMUX} ]]; then + alias weechat='TERM=screen command weechat' +fi # }}} # {{{ common functions screenoff-disable() { xset -dpms; xset s off; }