aboutsummaryrefslogtreecommitdiff
path: root/base/tmux/status
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2023-05-01 14:31:54 -0600
committerAlexis Hovorka <[email protected]>2023-05-01 14:31:54 -0600
commite8264f635c0c0ea8c2d72b1ceade0a38730a153d (patch)
treed993ad4e8480f3263f2b17fbdab9dcbc239e7298 /base/tmux/status
parentd06bdb51317569d824821018286fd94e22328f25 (diff)
[fix] Don't print hint filename when using several
Diffstat (limited to 'base/tmux/status')
-rwxr-xr-xbase/tmux/status2
1 files changed, 1 insertions, 1 deletions
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")"