Add detection for Termux terminal
Termux sets the TERMUX_VERSION environment variable.
This commit is contained in:
parent
4b91c94360
commit
da1970edd5
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -3292,6 +3292,7 @@ get_term() {
|
|||
[[ "$TERM" == "tw52" || "$TERM" == "tw100" ]] && term="TosWin2"
|
||||
[[ "$SSH_CONNECTION" ]] && term="$SSH_TTY"
|
||||
[[ "$WT_SESSION" ]] && term="Windows Terminal"
|
||||
[[ "$TERMUX_VERSION" ]] && term="Termux ${TERMUX_VERSION}"
|
||||
|
||||
# Check $PPID for terminal emulator.
|
||||
while [[ -z "$term" ]]; do
|
||||
|
|
Loading…
Reference in a new issue