From 42b4943eca290d6f6fb49e7b8c9c4df4a5335db0 Mon Sep 17 00:00:00 2001 From: Jorge Morante Date: Sun, 23 Apr 2017 18:27:01 +0200 Subject: [PATCH] fix compact hints --- scripts/config.sh | 4 ++-- scripts/hints.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/config.sh b/scripts/config.sh index b0a2b2c..e469844 100755 --- a/scripts/config.sh +++ b/scripts/config.sh @@ -66,8 +66,8 @@ set_option 'fingers-compact-hints' 1 set_option 'fingers-copy-command' "" set_option 'fingers-hint-format' "#[fg=yellow,bold,reverse]%%s" process_format set_option 'fingers-highlight-format' "#[fg=yellow,bold]%%s" process_format -set_option 'fingers-hint-format-secondary' "[%%s]" process_format -set_option 'fingers-highlight-format-secondary' " #%%s" process_format +set_option 'fingers-hint-format-secondary' "#[fg=yellow,bold] [%%s]" process_format +set_option 'fingers-highlight-format-secondary' "#[fg=yellow,bold]%%s" process_format # TODO add fingers_bg # TODO add fingers_fg diff --git a/scripts/hints.sh b/scripts/hints.sh index 50938f3..2182aa6 100755 --- a/scripts/hints.sh +++ b/scripts/hints.sh @@ -30,7 +30,7 @@ function show_hints() { local compact_hints=$2 clear_screen "$fingers_pane_id" - get_stdin | gawk -f $CURRENT_DIR/hinter.awk 3> $match_lookup_table + get_stdin | FINGERS_COMPACT_HINTS="$compact_hints" gawk -f $CURRENT_DIR/hinter.awk 3> $match_lookup_table } function show_hints_and_swap() {