mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 05:10:28 +02:00
show current/previous job in $jobstates (3503)
This commit is contained in:
parent
2557464cf5
commit
da9b5bb81a
4 changed files with 25 additions and 12 deletions
|
|
@ -127,12 +127,13 @@ item(tt(jobstates))(
|
|||
This associative array gives information about the states of the jobs
|
||||
currently known. The keys are the job numbers and the values are
|
||||
strings of the form
|
||||
`var(job-state):var(pid)tt(=)var(state)tt(...)'. The var(job-state)
|
||||
gives the state the whole job is currently in, one of `tt(running)',
|
||||
`tt(suspended)', or `tt(done)'. This is followed by one
|
||||
`var(pid)tt(=)var(state)' for every process in the job. The var(pid)s
|
||||
are, of course, the process IDs and the var(state) describes the state
|
||||
of that process.
|
||||
`var(job-state):var(mark):var(pid)tt(=)var(state)tt(...)'. The
|
||||
var(job-state) gives the state the whole job is currently in, one of
|
||||
`tt(running)', `tt(suspended)', or `tt(done)'. The var(mark) is
|
||||
`tt(+)' for the current job, `tt(-)' for the previous job and empty
|
||||
otherwise. This is followed by one `var(pid)tt(=)var(state)' for every
|
||||
process in the job. The var(pid)s are, of course, the process IDs and
|
||||
the var(state) describes the state of that process.
|
||||
)
|
||||
vindex(nameddirs)
|
||||
item(tt(nameddirs))(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue