diff options
author | Alexis Hovorka <[email protected]> | 2023-05-01 14:31:54 -0600 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2023-05-01 14:31:54 -0600 |
commit | e8264f635c0c0ea8c2d72b1ceade0a38730a153d (patch) | |
tree | d993ad4e8480f3263f2b17fbdab9dcbc239e7298 /base/tmux/status | |
parent | d06bdb51317569d824821018286fd94e22328f25 (diff) |
[fix] Don't print hint filename when using several
Diffstat (limited to 'base/tmux/status')
-rwxr-xr-x | base/tmux/status | 2 |
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")" |