Termfont: [Linux] Fix whitespace issue
This commit is contained in:
parent
453a38d79f
commit
013e9d6652
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -1472,8 +1472,8 @@ getterm() {
|
|||
;;
|
||||
|
||||
"Linux")
|
||||
parent="$(grep -F "PPid:" "/proc/${1:-$PPID}/status")"
|
||||
name="$(< "/proc/${parent/PPid:[[:space:]]}/comm")"
|
||||
parent="$(grep -i "PPid:" "/proc/${1:-$PPID}/status")"
|
||||
name="$(< "/proc/$(trim "${parent/PPid:}")/comm")"
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue