ref tmux session
This commit is contained in:
parent
e3c7f6fb21
commit
d4ca67eba0
@ -10,7 +10,7 @@ WORKING_PROJECT="$HOME/dotfiles"
|
||||
if ! tmux has-session -t "$SESSION"; then
|
||||
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
|
||||
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 pull" Enter
|
||||
tmux send-keys -t "$SESSION:$MAINW.1" "git pull && git push" Enter
|
||||
tmux send-keys -t "$SESSION:$MAINW.2" '$EDITOR' Enter
|
||||
tmux send-keys -t "$SESSION:$MAINW.2" ':Telescope find_files' Enter
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user