$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 2
ping -c 10 1.1.1.1 >/dev/null & typeset jobdirs
1 2
[1] 287759 jobdirs=( [1]=/home/user )
BashSupport Pro 是一款支持 jobdirs** 的 **Zsh 集成开发环境 - 立即试用!