Skip to content

Instantly share code, notes, and snippets.

@NigoroJr
Last active February 17, 2016 19:54
Show Gist options
  • Select an option

  • Save NigoroJr/2b2da70b036c12515022 to your computer and use it in GitHub Desktop.

Select an option

Save NigoroJr/2b2da70b036c12515022 to your computer and use it in GitHub Desktop.
Create a tmux session with 7 windows
#!/bin/sh
S='tm-normal'
tmux new-session -d -s $S -n 'local'
tmux new-window -t $S:1 -d -n 'remote'
tmux new-window -t $S:2 -d -n 'programming'
tmux new-window -t $S:3 -d -n 'misc'
tmux new-window -t $S:4 -d -n 'others'
tmux new-window -t $S:5 -d -n 'stuff'
tmux new-window -t $S:6 -d -n 'hangups'
tmux new-window -t $S:7 -d -n 'alpine'
tmux attach -t $S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment