You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
358 B

#!/bin/bash
# if called from a tmux session, don't create new session
if [ -n "$TMUX_PANE" ]; then
tmux rename-window dev
tmux splitw -h
tmux selectp -t 0
tmux resizep -x 83
tmux splitw -v -l 15
tmux selectp -t 0
clear
else
tmux new -s dev \; rename-window dev \; splitw -h \; selectp -t 0 \; resizep -x 83 \; splitw -v -l 15 \; selectp -t 0 \;
fi