$jobdirs
–
Mapping of job number to directory
$jobdirs maps job numbers to the directories from which the job was launched.
Links
Examples
- Run job and print start directory
- Output:
1 2ping -c 10 1.1.1.1 >/dev/null & typeset jobdirs1 2[1] 287759 jobdirs=( [1]=/home/user )
BashSupport Pro is a Zsh IDE with support for $jobdirs – try it now!