1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-16 10:01:16 +01:00

Remove unnecessary file

This commit is contained in:
Peter Stephenson 2016-03-21 19:46:26 +00:00
parent 9f70404714
commit b81b275ab3

View file

@ -1,30 +0,0 @@
updprompt()
{
psvar[2]=""
unset _trapchld_called
local njobs jobstr
njobs=$#jobstates
[[ $njobs -gt 1 ]] && jobstr="s"
[[ $njobs -ge 1 ]] && jobstr=" $njobs job$jobstr |"
echo 1 > /dev/tty
[[ -n $TTY && $TERM == (xterm*|dtterm|mlterm|rxvt*|screen*) ]] &&
{
[[ $TERM == screen* ]] || print -nP "\e]1;%m${ptsn:+[$ptsn]}:%.\x07"
print -nP "\e]2;${jobstr}${WINTITLE:+ $WINTITLE |} %n@%m - %~ | %y\x07"
} > /dev/tty
echo 2 > /dev/tty
}
TRAPCHLD()
{
echo SIGCHLD 1 > /dev/tty
if [[ -o interactive && -n $TTY ]] then
updprompt
typeset -g _trapchld_called=1
fi
echo SIGCHLD 2 > /dev/tty
}