about summary refs log blame commit diff stats
path: root/sandbox/mu_run
blob: 8d606fcd6777b3cfcac4c50f2b050cb13a7669c3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                 
#!/usr/bin/zsh

export ALREADY_FOCUSED=0
tmux list-panes |grep "^1.*active" -q && export ALREADY_FOCUSED=1
if [[ $ALREADY_FOCUSED -eq 0 ]]
then
  tmux select-pane -t 1
fi

tmux send-keys 'F4'

if [[ $ALREADY_FOCUSED -eq 0 ]]
then
  tmux last-pane
fi