From e8264f635c0c0ea8c2d72b1ceade0a38730a153d Mon Sep 17 00:00:00 2001 From: Alexis Hovorka Date: Mon, 1 May 2023 14:31:54 -0600 Subject: [fix] Don't print hint filename when using several --- base/tmux/status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/tmux') diff --git a/base/tmux/status b/base/tmux/status index c67c232..440c9f7 100755 --- a/base/tmux/status +++ b/base/tmux/status @@ -40,7 +40,7 @@ elif tmux showenv TMUX_SHOW_HINT &>/dev/null; then HINTF="$(dirname "$0")/hint" HINTS="${HINTF}s" if [[ ! -f "$HINTF" || "$(find "$HINTF" -mmin +2)" ]]; then - grep -v '^//' "$HINTS"* | shuf | head -n1 >"$HINTF" + grep -h -v '^//' "$HINTS"* | shuf | head -n1 >"$HINTF" fi TASKLINE="$(cat "$HINTF")" -- cgit v1.2.3-70-g09d2