mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 04:03:39 +08:00
5b489ca30f
This removes the caret as a shorthand for redirecting stderr. Note that stderr may be redirected to a file via 2>/some/path... and may be redirected with a pipe via 2>|. Fixes #4394
16 lines
201 B
Fish
16 lines
201 B
Fish
jobs -q; echo $status
|
|
sleep 5 &
|
|
sleep 5 &
|
|
jobs -c
|
|
jobs -q; echo $status
|
|
bg -23 1 2>/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
|