Fix terminal emulator selection

This commit is contained in:
streaksu
2023-12-02 19:17:30 +01:00
parent bdb222f9f8
commit f449cfadc3

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