mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-08 07:22:38 +00:00
Moved files out of the root of the project to bin and deploy where they belong
This commit is contained in:
17
bin/tmux.sh
Executable file
17
bin/tmux.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
project_dir="$(dirname $( dirname $(readlink -f ${BASH_SOURCE[0]})))"
|
||||
|
||||
cd ${project_dir}
|
||||
CURRENT_SESSION=wrestlingdev
|
||||
tmux new-session -d -s $CURRENT_SESSION
|
||||
tmux send-keys 'vim' 'C-m'
|
||||
tmux send-keys ':NERDTree' 'C-m'
|
||||
tmux rename-window rails-vim
|
||||
tmux new-window
|
||||
tmux rename-window rails
|
||||
tmux send-keys 'bash bin/rails-dev-run.sh wrestlingdev' 'C-m'
|
||||
tmux send-keys 'bash bin/rails-dev-db-create.sh' 'C-m'
|
||||
tmux new-window
|
||||
tmux rename-window rails-git
|
||||
tmux select-window -t 0
|
||||
tmux attach -t $CURRENT_SESSION
|
||||
Reference in New Issue
Block a user