[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
commit 0c1ac93a4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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