Re: Set up session and rename window

2013-06-05 Thread Marco
On 2013–06–04 Adrian Luff wrote: > To name the session you can do the following… > > tmux new-session -s foo -d > > tmux new-window -t foo -n "Editor" > > tmux send-keys -t foo vim C-m > > tmux new-window -t foo -n "Top" monitor htop > > Of course this leaves a default shell as the first window.

Re: Set up session and rename window

2013-06-04 Thread Adrian Luff
Marco, I do something similar in setting up new tmux sessions. There may be a more elegant way but I've not seen it. To name the session you can do the following… > tmux new-session -s foo -d > tmux new-window -t foo -n "Editor" > tmux send-keys -t foo vim C-m > tmux new-window -t foo -n "Top" m