clemens fischer wrote:
> On Sun-2010/02/28-21:28 Nicholas Marriott wrote:
>
>> You probably want to "exec tmux new-session", or use "tmux new-session
>> -d" instead.
>
> I always use
>
> exec /usr/local/bin/tmux ${TMUX_OPTIONS} attach-session
>
> without checking for existing sessions on th
On Sun-2010/02/28-21:28 Nicholas Marriott wrote:
> You probably want to "exec tmux new-session", or use "tmux new-session
> -d" instead.
I always use
exec /usr/local/bin/tmux ${TMUX_OPTIONS} attach-session
without checking for existing sessions on the local machine. If there
is one, it att
You probably want to "exec tmux new-session", or use "tmux new-session -d"
instead.
Otherwise if it works it must be fine, shell script isn't meant to be
elegant... :-)
On Fri, Feb 26, 2010 at 09:57:39PM +1100, Trent W. Buck wrote:
> Because screen doesn't implement -c like a normal shell, I can
Because screen doesn't implement -c like a normal shell, I can't use it
as my login shell without breaking scp(1) and suchlike. Thus for some
time I've had this in my .bash_profile:
## The naive "chsh -s /usr/bin/screen" breaks scp (and other things).
## Have sh start screen automatically