tmux sesions
This commit is contained in:
parent
a7cbd1112e
commit
62dd4101e4
@ -7,7 +7,10 @@ MAINW=1
|
|||||||
|
|
||||||
WORKING_PROJECT="$(mktemp -d)"
|
WORKING_PROJECT="$(mktemp -d)"
|
||||||
|
|
||||||
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
|
tmux new-session -s "$SESSION" -d -n "$MAINW"
|
||||||
tmux switch-client -t "$SESSION"
|
|
||||||
tmux splitw -t "$SESSION:$MAINW" -d -b -h -l "$_tmux_other_pane_size" -c '#{pane_current_path}'
|
tmux splitw -t "$SESSION:$MAINW" -d -b -h -l "$_tmux_other_pane_size" -c '#{pane_current_path}'
|
||||||
tmux send-keys -t "$SESSION:$MAINW.1" 'git clone .' Left Left
|
|
||||||
|
tmux new-window -d -n "2" -t "$SESSION:2" -c "$WORKING_PROJECT"
|
||||||
|
tmux splitw -t "$SESSION:2" -d -b -h -l "$_tmux_other_pane_size" -c "$WORKING_PROJECT"
|
||||||
|
tmux send-keys -t "$SESSION:2.1" 'git clone .' Left Left
|
||||||
|
tmux switch-client -t "$SESSION"
|
||||||
Loading…
x
Reference in New Issue
Block a user