blob: 875f62f38c4ecc52c7a3468ec04177d0f3ba3c94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# vim: set filetype=fish:
status -b
or echo 'top level'
begin
status -b
end
and echo 'block'
# Issue #1728
# Bad file redirection on a block causes `status --is-block` to return 0 forever.
begin; end >/ # / is a directory, it can't be opened for writing
status -b
and echo 'unexpected block'
true
|