/tmux
Created
January 27, 2011 11:30
Revisions
-
matthewtodd renamed this gist
Jan 27, 2011 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
matthewtodd renamed this gist
Jan 27, 2011 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
matthewtodd created this gist
Jan 27, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ #!/bin/sh tmux start-server if ! $(tmux has-session -t grow); then tmux new-session -d -s grow -n foreground tmux send-keys 'cd .' C-m C-l tmux send-keys 'AUTOFEATURE=true autotest --quiet' C-m tmux split-window -h tmux send-keys 'cd .' C-m C-l tmux new-window -t grow:1 -n background tmux send-keys 'cd .' C-m C-l tmux send-keys 'rails server -b 127.0.0.1' C-m tmux split-window -h tmux send-keys 'cd .' C-m C-l tmux send-keys 'spork rspec' C-m tmux split-window -h tmux send-keys 'cd .' C-m C-l tmux send-keys 'spork cucumber' C-m tmux select-layout main-vertical tmux select-window -t grow:0 fi tmux -2 attach-session -t grow