]> piware.de Git - bin.git/commitdiff
gsession: Fix $TERM setting for weechat
authorMartin Pitt <martin.pitt@ubuntu.com>
Thu, 8 Oct 2015 05:26:09 +0000 (07:26 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 8 Oct 2015 05:26:09 +0000 (07:26 +0200)
gsession

index bf5334a84945d5e376d18da021ca431502b5e25c..0ce8e3819ec5b2a9590235b2b68ea71de27d4f65 100755 (executable)
--- a/gsession
+++ b/gsession
@@ -18,7 +18,7 @@ YRES=`echo "$out" | cut -f4 -d' '`
 if ip route | grep -q ^default; then
     if [ `date +%u` -lt 6 ] && [ `date +%k` -lt 18 ]; then 
         true
-        env TERM=xterm gnome-terminal --maximize --zoom=0.85 -t IRC -x weechat
+        gnome-terminal --maximize --zoom=0.85 -t IRC -x env TERM=xterm weechat
         #setsid gtimelog
     fi