mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-15 20:46:57 +00:00
Changed tmux script to better suite needs
This commit is contained in:
10
tmux.sh
10
tmux.sh
@@ -1,11 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
CURRENT_SESSION=${PWD##*/}
|
CURRENT_SESSION=wrestlingdev
|
||||||
tmux new-session -d -s $CURRENT_SESSION
|
tmux new-session -d -s $CURRENT_SESSION
|
||||||
tmux send-keys 'vim' 'C-m'
|
tmux send-keys 'vim' 'C-m'
|
||||||
tmux rename-window vim
|
tmux send-keys ':NERDTree' 'C-m'
|
||||||
|
tmux rename-window rails-vim
|
||||||
tmux new-window
|
tmux new-window
|
||||||
tmux rename-window docker
|
tmux rename-window rails
|
||||||
|
tmux send-keys 'bash rails-dev.sh wrestlingdev' 'C-m'
|
||||||
tmux new-window
|
tmux new-window
|
||||||
tmux rename-window git
|
tmux rename-window rails-git
|
||||||
tmux select-window -t 0
|
tmux select-window -t 0
|
||||||
tmux attach -t $CURRENT_SESSION
|
tmux attach -t $CURRENT_SESSION
|
||||||
|
|||||||
Reference in New Issue
Block a user