Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Hey everyone 👋 ! I'm currently working on a rust library for building and configuring your own shell! It's inspired by projects like xmonad and penrose where the configuration of the program is done in code. This means that for example, instead of using Bash's arcane syntax for configuring the prompt, it can be configured instead using a rust builder pattern! The project itself is still at a very young stage, so there are plenty of bugs and unimplemented features. However, some things that are (partially) implemented are:
Hey everyone 👋 ! I'm currently working on a rust library for building and configuring your own shell! It's inspired by projects like xmonad and penrose where the configuration of the program is done in code. This means that for example, instead of using Bash's arcane syntax for configuring the prompt, it can be configured instead using a rust builder pattern! The project itself is still at a very young stage, so there are plenty of bugs and unimplemented features. However, some things that are (partially) implemented are:
You can keep up with development status and try out the shell on here: https://github.com/MrPicklePinosaur/shrs
The current completion system has a list of rules of which completions to use at which time. It's purposely simple to make it as flexible as possible. The current things I'm planning is a derive macro like what clap has to generate these rules. I'm also considering introducing a plugin that let's you write rules in the format of docopt
I haven't looked too deeply into this but, carapace seems to be able to output a yaml spec and it will be much easier to convert from this to the shrs format.
I'd suggest taking a look at Fig.io's completion stuff: https://github.com/withfig/autocomplete The structure might be useful, and you may be able to import/adapt the data from that repo to bootstrap your own
Ambitious! https://github.com/wez/wzsh is something I started a while back that has different goals, but for which I did a lot of ground work for a posix-y shell. It is MIT licensed and you're welcome to draw from it.
Hey OP, figured out you might want to take a look at Nushell: https://github.com/nushell/nushell
I'm already making a shell called Rush 😅 you can check it out at https://github.com/Eyesonjune18/rush