Fix terminal emulator selection

This commit is contained in:
streaksu 2023-12-02 19:17:30 +01:00
parent bdb222f9f8
commit f449cfadc3
No known key found for this signature in database
GPG key ID: 203A9BA8C1061227

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