added Termux support
This commit is contained in:
parent
ccd5d9f526
commit
22f7dbb6ec
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
|
@ -3307,6 +3307,10 @@ get_term() {
|
||||||
[[ "$TERM" == "tw52" || "$TERM" == "tw100" ]] && term="TosWin2"
|
[[ "$TERM" == "tw52" || "$TERM" == "tw100" ]] && term="TosWin2"
|
||||||
[[ "$SSH_CONNECTION" ]] && term="$SSH_TTY"
|
[[ "$SSH_CONNECTION" ]] && term="$SSH_TTY"
|
||||||
[[ "$WT_SESSION" ]] && term="Windows Terminal"
|
[[ "$WT_SESSION" ]] && term="Windows Terminal"
|
||||||
|
|
||||||
|
#I think i need Termux ()
|
||||||
|
#My Edge crashed 3 times when i want to commit
|
||||||
|
[[ "$TERMUX_VERSION" ]] && term="Termux $TERMUX_VERSION"
|
||||||
|
|
||||||
# Check $PPID for terminal emulator.
|
# Check $PPID for terminal emulator.
|
||||||
while [[ -z "$term" ]]; do
|
while [[ -z "$term" ]]; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue