diff --git a/fet.sh b/fet.sh index 30707fa..51319ee 100755 --- a/fet.sh +++ b/fet.sh @@ -33,7 +33,7 @@ if [ -e /proc/$$/comm ]; then # get name of binary read -r name < "/proc/$ppid/comm" case $name in - *sh|"${0##*/}"|tmux*) ;; # skip shells + *sh|"${0##*/}") ;; # skip shells *[Ll]ogin*|*init*) break;; # exit when the top is reached *) term="$name" # anything else can be assumed to be the terminal esac