On Mon, Dec 27, 2010 at 11:27:17AM +0000, Chris Poole wrote:
> Hi,
> I want to open some windows by default when I start tmux.
> 
> I have the following in .tmux.conf:
> 
>     neww -d
>     neww -d -n ssh
>     neww -d -n python ipython
> 
> When starting tmux, I get the error "can't establish current session".

There is no session at this point.  See:

new -d -ssomename -n ssh
neww -d
neww -d -n python ipython

> However, I can then run command `source-file ~/.tmux.conf`, and the
> windows open fine.

Because by the time you run that from tmux, you already have a session
attached.

-- Thomas Adam

-- 
"It was the cruelest game I've ever played and it's played inside my head."
-- "Hush The Warmth", Gorky's Zygotic Mynci.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to