mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
1e858eae35
This demonstrates that we only write control sequences when interactive.
10 lines
159 B
Fish
10 lines
159 B
Fish
#RUN: %fish %s
|
|
|
|
not true
|
|
echo $status
|
|
# CHECK: 1
|
|
|
|
# Two "not" prefixes on a single job cancel each other out.
|
|
not not sh -c 'exit 34'
|
|
echo $status
|
|
# CHECK: 34
|