oils-for-unix / oils

Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
http://www.oilshell.org/
Other
2.85k stars 159 forks source link

allow && || in YSH conditions and add test --true --false #2094

Open andychu opened 1 month ago

andychu commented 1 month ago

To allow mixing command and expression conditions more easily

https://oilshell.zulipchat.com/#narrow/stream/264891-oil-help/topic/Mixing.20commands.20and.20expressions.20in.20a.20condition

andychu commented 1 month ago

These are both done now

andychu commented 1 month ago

First part was https://github.com/oils-for-unix/oils/commit/11f8dffa3c4975c602b9ea8723dc4f408a1bb23f