Sha256: 834c0bf8009743048f90ee14da89eea81e7e2861aa02308dfde5c4e4787da2c4

Contents?: true

Size: 1020 Bytes

Versions: 4

Compression:

Stored size: 1020 Bytes

Contents

#! /bin/bash

dir=$(pwd)
session=$(basename "$dir")

tmux rename-session "$session"
tmux rename-window shell

tmux new-window   -n vim -d
tmux send-keys    -t vim "cd ." C-m  
tmux send-keys    -t vim "vim ." C-m  

tmux new-window   -n rspec -d
tmux send-keys    -t rspec "cd ." C-m
tmux send-keys    -t rspec "rs" C-m

tmux new-window   -n irb -d
tmux send-keys    -t irb "cd ." C-m
tmux send-keys    -t irb "irb" C-m

#tmux new-window   -n rdoc -d
#tmux split-window -t rdoc -p 0
#tmux send-keys    -t rdoc.1 "cd ." C-m
#tmux send-keys    -t rdoc.1 "gem server" C-m
#tmux send-keys    -t rdoc.0 "cd ." C-m 
#tmux send-keys    -t rdoc.0 "sleep 10" C-m 
#tmux send-keys    -t rdoc.0 "links http://127.0.0.1:8808" C-m 

#tmux new-window   -n log -d
#tmux send-keys    -t log "cd ." C-m
#tmux send-keys    -t log "tail -f log/development.log" C-m

#tmux new-window   -n rails -d
#tmux send-keys    -t rails "cd ." C-m
#tmux send-keys    -t rails "rails server --binding=127.0.0.1" C-m

tmux swap-window  -s vim -t shell

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iqeo-hostspec-0.1.1 tmux
iqeo-hostspec-0.1.0 tmux
iqeo-hostspec-0.1.0.pre2 tmux
iqeo-hostspec-0.1.0.pre1 tmux