mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 19:53:36 +08:00
8e9670ccd5
This adds support for basic constructs. if and while is not yet supported.
8 lines
232 B
Fish
8 lines
232 B
Fish
# Test && and || support
|
|
|
|
echo first && echo second
|
|
echo third || echo fourth
|
|
true && false ; echo "true && false: $status"
|
|
true || false ; echo "true || false: $status"
|
|
true && false || true ; echo "true && false || true: $status"
|