fish-shell/tests/jobs.in

16 lines
200 B
Fish
Raw Normal View History

2018-03-04 21:33:36 +00:00
jobs -q; echo $status
sleep 5 &
sleep 5 &
2016-06-08 23:09:29 +00:00
jobs -c
2018-03-04 21:33:36 +00:00
jobs -q; echo $status
2017-06-15 01:25:51 +00:00
bg -23 1 ^/dev/null
or echo bg: invalid option -23 >&2
fg 3
bg 3
sleep 1 &
disown
jobs -c
disown foo
disown (jobs -p)
or exit 0