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