mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-10-21 21:32:10 +08:00
`jobs %string` doesn't work correctly when run inside `$()`. `$jobstates` and `$jobtexts` is available in the current shell process, so even though we need to replicate a bit more logic, every type of `fg` invocation works correctly.