$jobtexts
–
Mapping of job number to command line
$jobstates
maps job numbers to the command line used to start a job.
Links
Examples
- Run job and print job command line
- Output:
1 2
ping -c 10 1.1.1.1 >/dev/null & ~ typeset jobtexts
1 2
[1] 288507 jobtexts=( [1]='ping -c 10 1.1.1.1 > /dev/null' )
BashSupport Pro is a Zsh IDE with support for $JOBTEXTS – try it now!