mirror of
https://github.com/eepykate/fet.sh.git
synced 2026-10-01 05:22:36 +07:00
Slightly less aggressive terminal process name filtering (Solves #32)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user