Revert "oh shit"

This reverts commit 3683c9f4a0.
This commit is contained in:
Jorge Morante 2017-05-02 20:47:52 +02:00
parent 3683c9f4a0
commit f5cf7eaec8
1 changed files with 13 additions and 0 deletions

13
tmux-fingers.tmux Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# 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}
tmux run -b "$CURRENT_DIR/scripts/health-check.sh"
tmux bind-key $FINGERS_KEY run-shell "tmux capture-pane -p | $CURRENT_DIR/scripts/tmux-fingers.sh"