mirror of
https://github.com/tmux/tmux.git
synced 2025-11-05 10:26:04 +00:00
-n is now -s on new-session.
This commit is contained in:
10
examples/mxey-start-tmux.sh
Normal file
10
examples/mxey-start-tmux.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
tmux attach
|
||||
if [[ $? = 1 ]]; then
|
||||
tmux new-session -d -smain 'exec irssi'
|
||||
tmux -smain set prefix '^H'
|
||||
tmux -smain new-window -d -nherrie 'exec sudo herrie -c /home/mxey/etc/herrie/config'
|
||||
tmux -smain new-window -d 'exec lynx'
|
||||
exec tmux -smain attach
|
||||
fi
|
||||
Reference in New Issue
Block a user