Slightly less aggressive terminal process name filtering (Solves #32)

This commit is contained in:
gk
2022-03-22 06:20:43 +10:00
parent de8e83b22c
commit 701538d390
+1 -1
View File
@@ -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