Why Sponsor Oils? | source | all docs for version 0.32.0 | all versions | oils.pub
Oils is our upgrade path from bash to a better language and runtime!
(The project was slightly renamed in March 2023, so there are still old references to "Oil". Feel free to send pull requests with corrections!)
Oils 2023 FAQ / Why Create a New Unix Shell?
It's written in Python, so the code is short and easy to change. But we automatically translate it to C++ with custom tools, to make it fast and small. The deployed executable doesn't depend on Python.
This README is at the root of the git repo.
If you want to use Oils, don't clone this repo. Instead, visit https://oils.pub/release/latest/. The Oils Repo Is Different From theTarball Releases.
#oil-dev
channel of
oilshell.zulipchat.com, or file an issue on Github.After following the instructions on the Contributing page, you'll have a Python program that you can quickly run and change! Try it interactively:
bash$ bin/osh
osh$ name=world
osh$ echo "hello $name"
hello world
bin/osh myscript.sh
.bin/ysh
.Let us know if any of these things don't work! The continuous build tests them at every commit.
Again, note that the developer build is very different from the release tarball. The Contributing page describes this difference in detail.
The release tarballs are linked from the home page. (Developer builds don't work on OS X, so use the release tarballs on OS X.)
Oils is full of many ideas, which may be intimidating at first.
But the bar to contribution is very low. It's basically a medium size Python program with many tests, and many programmers know how to change such programs. It's great for prototyping.
grep xtrace spec/*.test.sh
, where xtrace
is a shell feature.Please feel free to ping andychu
on Zulip or Github if you're waiting for
a pull request review! (or to ask questions)
Usually I can respond in 24 hours. I might be traveling, in which case I'll respond with something like I hope to look at this by Tuesday.
I might have also missed your Github message, so it doesn't hurt to ping me.
Thank you for the contributions!
The Wiki has many developer docs. Feel free to edit them. If you make a major change, let us know on Zulip!
If you're confused, the best thing to do is to ask on Zulip and someone should produce a pointer and/or improve the docs.
Docs for end users are linked from each release page.