From d4ca67eba03670d05c7bda469365553cb1d9e3ca Mon Sep 17 00:00:00 2001 From: thek4n Date: Thu, 4 Jul 2024 15:30:18 +0300 Subject: [PATCH] ref tmux session --- home/user/.tmux/01.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/user/.tmux/01.sh b/home/user/.tmux/01.sh index f50b3b1..b4c077f 100755 --- a/home/user/.tmux/01.sh +++ b/home/user/.tmux/01.sh @@ -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