diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-09-05 16:16:15 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-09-05 16:16:15 +0000 |
commit | f5a6b2a8c93a4f30e32f59280d91c7495b6879ef (patch) | |
tree | c00a4f9974e2a5197e8aa268d1b926fbf81096d9 /Doc | |
parent | 8cfe028631f509b2a9ecb8dddc2ab435dd6e5b59 (diff) | |
download | zsh-f5a6b2a8c93a4f30e32f59280d91c7495b6879ef.tar.gz zsh-f5a6b2a8c93a4f30e32f59280d91c7495b6879ef.tar.xz zsh-f5a6b2a8c93a4f30e32f59280d91c7495b6879ef.zip |
users/11818: allow non-numeric keys for job status parameters
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/mod_parameter.yo | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_parameter.yo b/Doc/Zsh/mod_parameter.yo index 529c65d33..434397fbf 100644 --- a/Doc/Zsh/mod_parameter.yo +++ b/Doc/Zsh/mod_parameter.yo @@ -124,11 +124,19 @@ vindex(jobdirs) item(tt(jobdirs))( This associative array maps job numbers to the directories from which the job was started (which may not be the current directory of the job). + +The keys of the associative arrays are usually valid job numbers, +and these are the values output with, for example, tt(${(k)jobdirs}). +Non-numeric job references may be used when looking up a value; +for example, tt(${jobdirs[%+]}) refers to the current job. ) vindex(jobtexts) item(tt(jobtexts))( This associative array maps job numbers to the texts of the command lines that were used to start the jobs. + +Handling of the keys of the associative array is as described for +tt(jobdirs) above. ) vindex(jobstates) item(tt(jobstates))( @@ -142,6 +150,9 @@ var(job-state) gives the state the whole job is currently in, one of 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. + +Handling of the keys of the associative array is as described for +tt(jobdirs) above. ) vindex(nameddirs) item(tt(nameddirs))( |