From c665f68caa2ffb68eb4880cdd16a0de4d6674275 Mon Sep 17 00:00:00 2001 From: Jorge Morante Date: Tue, 28 Aug 2018 10:30:13 +0200 Subject: [PATCH] don't break tmux attach ( fixes #54 ) --- test/conf/basic.conf | 1 + tmux-fingers.tmux | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/conf/basic.conf b/test/conf/basic.conf index 5a92f92..674c3c1 100644 --- a/test/conf/basic.conf +++ b/test/conf/basic.conf @@ -1,3 +1,4 @@ set -g prefix C-a set -g @fingers-compact-hints '0' +set -g default-terminal 'screen-256color' run /home/vagrant/shared/tmux-fingers.tmux diff --git a/tmux-fingers.tmux b/tmux-fingers.tmux index 598ed1b..85c70d0 100755 --- a/tmux-fingers.tmux +++ b/tmux-fingers.tmux @@ -3,9 +3,7 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" tmux run -b "$CURRENT_DIR/scripts/health-check.sh" - -# tmux run-shell does not have color support -tmux new-session -d "bash --norc --noprofile $CURRENT_DIR/scripts/config.sh" +tmux run -b "bash --norc --noprofile $CURRENT_DIR/scripts/config.sh" DEFAULT_FINGERS_KEY="F" FINGERS_KEY=$(tmux show-option -gqv @fingers-key)