dotfiles/dot_config/tmux/bootstraps/executable_tessoku.sh

17 lines
334 B
Bash
Raw Permalink Normal View History

#!/bin/sh
# Create new window
tmux neww -n tessoku
# Prepare panes & resize
tmux split-window -h
tmux resize-pane -t 0 -x 120
tmux send-keys -t 0 'cd ~/dev/atcoder' C-m
tmux send-keys -t 0 './oj-wrapper.py' C-m
tmux send-keys -t 1 'cd ~/dev/atcoder/contests/tessoku-book' C-m
tmux send-keys -t 1 'nvim' C-m
tmux select-pane -t 1