ohmyzsh/lib
Marc Cornellà b9d5ee7913
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: Marc Cornellà <marc.cornella@live.com>
2020-03-03 20:21:29 +01:00
..
bzr.zsh Modification to the frisk theme to work with the BZR lib 2013-11-06 20:10:59 -02:00
clipboard.zsh lib: add support for clippaste in WSL using powershell 2020-02-28 19:07:05 +01:00
compfix.zsh compfix: fix check for empty string (#7674) 2019-03-21 20:35:00 +01:00
completion.zsh lib: load bash completion functions automatically 2020-02-11 20:16:43 +01:00
correction.zsh Don't correct cp commands (#4636) 2018-07-01 22:43:45 +02:00
diagnostics.zsh diagnostics: fix for reserved-word changes in zsh 5.1 2015-10-08 22:31:39 -04:00
directories.zsh init: run compinit before loading lib/ files 2019-05-07 21:30:06 +02:00
functions.zsh lib: use `command` to run rm in upgrade function (#8696) 2020-03-03 13:46:06 +01:00
git.zsh lib: add git function to determine repository name (#4989) 2020-02-10 21:11:31 +01:00
grep.zsh lib: use grep-alias cache only if ZSH_CACHE_DIR is writable 2020-03-02 12:35:58 +01:00
history.zsh lib: fix issues with nounset and parameters used before defined (#7433) 2019-04-09 12:58:45 +02:00
key-bindings.zsh Better research history with arrow keys 2015-12-14 01:08:55 +01:00
misc.zsh lib: allow alias expansion in _ sudo alias (#8268) 2019-10-16 18:01:15 +02:00
nvm.zsh nvm plugin improvements (#5265) 2016-08-07 19:36:44 +02:00
prompt_info_functions.zsh Themes: switch to using ruby_prompt_info() 2019-05-08 08:45:34 +02:00
spectrum.zsh use https everywhere (#6574) 2018-08-07 20:42:01 +02:00
termsupport.zsh lib: automatic title: replace fg with description from jobs (#7982) 2020-03-03 20:21:29 +01:00
theme-and-appearance.zsh Themes: switch to using ruby_prompt_info() 2019-05-08 08:45:34 +02:00