3 cmd="$(dirname "$(realpath -- "$0")")"
5 [ -n "$what" ] || what="`find . -type d | fzf`"
7 tmux list-windows -F "#{window_name}" | grep -q "$name" && exit || :
8 tmux new-window -n "$name" $cmd/rd/colourized $what
9 tmux split-window -t "$name" -l 5 $cmd/wr $what