From 7e37a1beda3c858269290875677efbd782a1ffef Mon Sep 17 00:00:00 2001 From: "Azalea (on HyDEV-Daisy)" Date: Sun, 31 Jul 2022 17:51:59 -0400 Subject: [PATCH] [F] Fix termux showing as com.termux https://github.com/dylanaraps/neofetch/pull/1923 --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 2758a945..b29189be 100644 --- a/neofetch +++ b/neofetch @@ -3484,7 +3484,7 @@ get_term() { # Termux sets TERMUX_VERSION. Put this after the PPID check because this is # also set if using a terminal on an X server. - [[ -z "$term" && "$TERMUX_VERSION" ]] && term="Termux ${TERMUX_VERSION}" + [[ (-z "$term" && "$TERMUX_VERSION") || $term == "com.termux" ]] && term="Termux ${TERMUX_VERSION}" # Log that the function was run. term_run=1