2017-05-02 20:47:52 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
2017-10-08 13:31:59 +02:00
|
|
|
tmux run -b "$CURRENT_DIR/scripts/health-check.sh"
|
|
|
|
|
2017-05-02 20:47:52 +02:00
|
|
|
# tmux run-shell does not have color support
|
|
|
|
tmux new-session -d "bash --norc --noprofile $CURRENT_DIR/scripts/config.sh"
|
|
|
|
|
|
|
|
DEFAULT_FINGERS_KEY="F"
|
|
|
|
FINGERS_KEY=$(tmux show-option -gqv @fingers-key)
|
|
|
|
FINGERS_KEY=${FINGERS_KEY:-$DEFAULT_FINGERS_KEY}
|
|
|
|
|
2018-02-14 21:24:47 +01:00
|
|
|
tmux bind-key $FINGERS_KEY run-shell "$CURRENT_DIR/scripts/tmux-fingers.sh"
|