$jobdirs  –  Mapping of job number to directory

$jobdirs maps job numbers to the directories from which the job was launched.

Examples

Run job and print start directory
1
2
ping -c 10 1.1.1.1 >/dev/null &
typeset jobdirs
Output:
1
2
[1] 287759
jobdirs=( [1]=/home/user )
BashSupport Pro 是一款支持 jobdirs** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2025 Joachim Ansorg
声明
隐私政策
许可条款