remove TERM fixup :)
This commit is contained in:
parent
a312de64e1
commit
5394f208b6
@ -1,8 +1,6 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
function {
|
function {
|
||||||
[ "${ZSHU_RUN[nested]}" = 1 ] || return
|
|
||||||
|
|
||||||
local -a a
|
local -a a
|
||||||
local x
|
local x
|
||||||
for i ( ${ZSHU_PARENTS_PID} ) ; do
|
for i ( ${ZSHU_PARENTS_PID} ) ; do
|
||||||
@ -12,7 +10,4 @@ function {
|
|||||||
a+=( "$x" )
|
a+=( "$x" )
|
||||||
done
|
done
|
||||||
export ORIG_TERM="${a[-1]}"
|
export ORIG_TERM="${a[-1]}"
|
||||||
echo "${TERM}" | grep -Fq "${ORIG_TERM}" && return
|
|
||||||
|
|
||||||
export TERM="${TERM}.${ORIG_TERM}"
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user