mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
Don't print the jobs header when stdout is redirected
This commit is contained in:
@@ -319,7 +319,7 @@ static int builtin_jobs(parser_t &parser, io_streams_t &streams, wchar_t **argv)
|
||||
*/
|
||||
if ((j->flags & JOB_CONSTRUCTED) && !job_is_completed(j))
|
||||
{
|
||||
builtin_jobs_print(j, mode, !found, streams);
|
||||
builtin_jobs_print(j, mode, !streams.out_is_redirected, streams);
|
||||
found = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user