minor terminal fixup
This commit is contained in:
parent
e76ed11c36
commit
25c314caa9
@ -6,7 +6,7 @@ function {
|
|||||||
|
|
||||||
for i ( ${ZSHU_PARENTS_PID} ) ; do
|
for i ( ${ZSHU_PARENTS_PID} ) ; do
|
||||||
[ -r "/proc/$i/environ" ] || continue
|
[ -r "/proc/$i/environ" ] || continue
|
||||||
x=$(sed -zEn '/^TERM=(.+)$/{s//\1/;p;}' "/proc/$i/environ")
|
x=$(sed -zEn '/^TERM=(.+)$/{s//\1/;p;}' "/proc/$i/environ" 2>/dev/null)
|
||||||
[ -n "$x" ] || continue
|
[ -n "$x" ] || continue
|
||||||
a+=( "$x" )
|
a+=( "$x" )
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user