From 701538d39022fbb1c89e8d711b04443791464752 Mon Sep 17 00:00:00 2001 From: gk Date: Tue, 22 Mar 2022 06:20:43 +1000 Subject: [PATCH] Slightly less aggressive terminal process name filtering (Solves #32) --- fet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fet.sh b/fet.sh index 72e1b50..d31e7fd 100755 --- a/fet.sh +++ b/fet.sh @@ -44,7 +44,7 @@ if [ -e /proc/$$/comm ]; then case $name in *sh|"${0##*/}") ;; # skip shells - *[Ll]ogin*|*init*|*systemd*) break;; # exit when the top is reached + *[Ll]ogin*|*init|*systemd*) break;; # exit when the top is reached # anything else can be assumed to be the terminal # this has the side affect of catching tmux, but tmux # detaches from the terminal and therefore ignoring that