Snippets

One Off Code kbe4: Untitled snippet

Created by Richard Bucker
#!/bin/bash

SESSION=`basename $PWD`

tmux -2 new-session -d -s $SESSION

tmux rename-window -t $SESSION:1 dev

tmux split-window -h  #"echo try:  ssh builder@10.69.0.102"
tmux resize-pane -R 30
tmux split-window -v "builder ~/src/bitbucket.org/netcentrix/gwtcmp/autobuilder.json"
tmux split-window -v "openvpn ~/src/certs/client.ovpn"
tmux split-window -v "echo minifs; cd ~/src/gwtwo; go run ~/minifs.go"

tmux select-window -t $SESSION:1
tmux select-pane -t 0
tmux -2 attach -t $SESSION

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.