Skip to content

Instantly share code, notes, and snippets.

@cacoco
Forked from endform/boot-tmux.sh
Created June 4, 2013 19:24
Show Gist options
  • Save cacoco/5708734 to your computer and use it in GitHub Desktop.
Save cacoco/5708734 to your computer and use it in GitHub Desktop.
function boot-tmux {
echo -ne "\033]0;$@\007"
tmux new-session -d -s $@
tmux send-keys -t $@ "teamocil --here $@" C-m
tmux attach-session -t $@
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment