From 3a335e4f37905b94a9ba59c9992fef38565236e5 Mon Sep 17 00:00:00 2001 From: Jorge Morante Date: Mon, 1 May 2017 12:05:31 +0200 Subject: [PATCH] fix fish support and run config in clean bash env --- tmux-fingers.tmux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmux-fingers.tmux b/tmux-fingers.tmux index 9a5d0dc..eb9ee2b 100755 --- a/tmux-fingers.tmux +++ b/tmux-fingers.tmux @@ -3,11 +3,11 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # tmux run-shell does not have color support -tmux new-session -d "$CURRENT_DIR/scripts/config.sh" +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 2> $CURRENT_DIR/../fingers.log" +tmux bind-key $FINGERS_KEY run-shell "tmux capture-pane -p | $CURRENT_DIR/scripts/tmux-fingers.sh"