Here's a very simple script for starting or attaching to a tmux session
named "bad":

#!/bin/bash
if ! tmux has-session -t bad; then
  tmux new-session -s bad -d
fi

tmux attach -t bad

When I run this, I get a message in the one and only window of the session
that gives the path to my .tmux.conf file and says "can't establish current
session".
Can someone explain why that happens? I don't think it has anything to do
with my .tmux.conf file.

-- 
R. Mark Volkmann
Object Computing, Inc.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to