From 2905817df968c383c142f69c664b34c2e49b6cc2 Mon Sep 17 00:00:00 2001 From: thek4n Date: Thu, 21 Mar 2024 21:28:37 +0300 Subject: [PATCH] tmux session template changed --- home/user/.tmux/01.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/home/user/.tmux/01.conf b/home/user/.tmux/01.conf index 96d3c2c..3bec98c 100644 --- a/home/user/.tmux/01.conf +++ b/home/user/.tmux/01.conf @@ -1,4 +1,6 @@ # vim: filetype=tmux -new-session -s s01 -A -n main -c "$WORKING_PROJECT" "$EDITOR" -send-keys -t s01:main M-1 -splitw -t s01:main -d -h -l 40% -c '#{pane_current_path}' \ No newline at end of file +SESSION=s01 +MAINW=main +new-session -s ${SESSION} -A -n ${MAINW} -c "$WORKING_PROJECT" "$EDITOR" +send-keys -t ${SESSION}:${MAINW} M-1 +splitw -t ${SESSION}:${MAINW} -d -h -l 40% -c '#{pane_current_path}' \ No newline at end of file