Fix terminal emulator selection
This commit is contained in:
parent
bdb222f9f8
commit
f449cfadc3
1 changed files with 0 additions and 1 deletions
1
neofetch
1
neofetch
|
@ -4463,7 +4463,6 @@ get_term() {
|
||||||
[[ "$WT_SESSION" ]] && term="Windows Terminal"
|
[[ "$WT_SESSION" ]] && term="Windows Terminal"
|
||||||
|
|
||||||
# Check $PPID for terminal emulator.
|
# Check $PPID for terminal emulator.
|
||||||
term="gcon"
|
|
||||||
while [[ -z "$term" ]]; do
|
while [[ -z "$term" ]]; do
|
||||||
parent="$(get_ppid "$parent")"
|
parent="$(get_ppid "$parent")"
|
||||||
[[ -z "$parent" ]] && break
|
[[ -z "$parent" ]] && break
|
||||||
|
|
Loading…
Reference in a new issue