added Termux support
This commit is contained in:
@@ -3308,6 +3308,10 @@ get_term() {
|
|||||||
[[ "$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
|
||||||
parent="$(get_ppid "$parent")"
|
parent="$(get_ppid "$parent")"
|
||||||
|
|||||||
Reference in New Issue
Block a user