diff options
author | Marc Cornellà <marc.cornella@live.com> | 2020-03-03 20:10:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-03 20:10:43 +0100 |
commit | d7825313cca7ec4cfdd0cf64fb9b0119d52a4ab7 (patch) | |
tree | 09284eb66a2a88e1624d95c8b330d519073026ce /plugins | |
parent | 902e3172c9b991ca0995a0dcd658caa29b918d8e (diff) | |
download | zsh-d7825313cca7ec4cfdd0cf64fb9b0119d52a4ab7.tar.gz zsh-d7825313cca7ec4cfdd0cf64fb9b0119d52a4ab7.tar.bz2 zsh-d7825313cca7ec4cfdd0cf64fb9b0119d52a4ab7.zip |
Use $jobstates and $jobtexts to look for jobs
`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.
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions