Hi,

I updated to the newest master recently and it seems as though the
synchronous if-shell support has broken usage of it from ~/.tmux.conf.
At the end of my .tmux.conf I have the following:

# 256-color support
if-shell -b 'test "`tput colors`" -eq 256' 'source-file 
"$XDG_CONFIG_HOME/tmux/256-colors"'
if-shell -b 'test "`tput Co`" -eq 256' 'source-file 
"$XDG_CONFIG_HOME/tmux/256-colors"'

With the new if-shell, I get:

/home/boeckb/.tmux.conf:120: can't establish current session
/home/boeckb/.tmux.conf:121: can't establish current session

This happens with or without the '-b' flag. A subsequent sourcing of
.tmux.conf is error-free. Is there a way to get if-shell to work without
error messages on startup again? Or is there a better way of doing this?

Thanks,

--Ben


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to