[PR] #220 from streaksu: Fix terminal emulator selection

This commit is contained in:
Azalea
2023-12-03 03:30:48 +09:00
committed by GitHub
-1
View File
@@ -4463,7 +4463,6 @@ get_term() {
[[ "$WT_SESSION" ]] && term="Windows Terminal"
# Check $PPID for terminal emulator.
term="gcon"
while [[ -z "$term" ]]; do
parent="$(get_ppid "$parent")"
[[ -z "$parent" ]] && break