Skip to content
Unverified Commit b9d5ee79 authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

lib: automatic title: replace fg with description from jobs (#7982)



* Automatic title: Replace fg with description from jobs

* Avoid error messages when there is no job

* 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.

* lib: clean up termsupport.zsh

Co-authored-by: default avatarMarc Cornellà <marc.cornella@live.com>
parents 831089a3 02d12538
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment