mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-27 00:58:56 +01:00
11 lines
284 B
Bash
11 lines
284 B
Bash
#!/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
|