File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -3315,6 +3315,10 @@ get_term() {
3315
3315
[[ " $TERM " == " tw52" || " $TERM " == " tw100" ]] && term=" TosWin2"
3316
3316
[[ " $SSH_CONNECTION " ]] && term=" $SSH_TTY "
3317
3317
[[ " $WT_SESSION " ]] && term=" Windows Terminal"
3318
+
3319
+ # I think i need Termux ()
3320
+ # My Edge crashed 3 times when i want to commit
3321
+ [[ " $TERMUX_VERSION " ]] && term=" Termux $TERMUX_VERSION "
3318
3322
3319
3323
# Check $PPID for terminal emulator.
3320
3324
while [[ -z " $term " ]]; do
@@ -3602,6 +3606,10 @@ END
3602
3606
" $termite_config " ) "
3603
3607
;;
3604
3608
3609
+ " Termux $TERMUX_VERSION " )
3610
+ term_font=$( fc-scan /data/data/com.termux/files/home/.termux/font.ttf| grep fullname:| cut -d ' "' -f2)
3611
+ ;;
3612
+
3605
3613
urxvt|urxvtd|rxvt-unicode|xterm)
3606
3614
xrdb=$( xrdb -query)
3607
3615
term_font=$( grep -im 1 -e " ^${term/ d} " ' \**\.*font:' -e ' ^\*font:' <<< " $xrdb" )
You can’t perform that action at this time.
0 commit comments