Commit 013e9d66 authored by Dylan Araps's avatar Dylan Araps

Termfont: [Linux] Fix whitespace issue

parent 453a38d7
...@@ -1472,8 +1472,8 @@ getterm() { ...@@ -1472,8 +1472,8 @@ getterm() {
;; ;;
"Linux") "Linux")
parent="$(grep -F "PPid:" "/proc/${1:-$PPID}/status")" parent="$(grep -i "PPid:" "/proc/${1:-$PPID}/status")"
name="$(< "/proc/${parent/PPid:[[:space:]]}/comm")" name="$(< "/proc/$(trim "${parent/PPid:}")/comm")"
;; ;;
*) *)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment