Dune Shell: bash + lisp (adam-mcdaniel.github.io)
from armchair_progamer@programming.dev to programming_languages@programming.dev on 18 Sep 2024 19:57
https://programming.dev/post/19561457

Dune is a shell designed for powerful scripting. Think of it as an unholy combination of bash and Lisp.

You can do all the normal shell operations like piping, file redirection, and running programs. But, you also have access to a standard library and functional programming abstractions for various programming and sysadmin tasks!

screenshot

#programming_languages

threaded - newest

Sanctus@lemmy.world on 18 Sep 2024 20:37 next collapse

Might swap Kitty for this on my next install >.>

Daeraxa@lemmy.ml on 18 Sep 2024 20:40 next collapse

But Kitty is ‘just’ the emulator right? It doesn’t have a shell by itself.

Sanctus@lemmy.world on 18 Sep 2024 20:43 collapse

Yeah it is just my terminal emulator and this is specifically a bash+lisp shell. That wouldnt prevent me from attempting to use it the same on my first try like the special boi I am.

Daeraxa@lemmy.ml on 18 Sep 2024 22:10 collapse

So you can keep Kitty, just swap the shell you have it start by default (probably not a good idea to swap to this system-wide)

Sanctus@lemmy.world on 18 Sep 2024 23:30 collapse

I know just enough about Linux (arch BTW) to get myself in trouble so idk if that would be a good idea.

Feyd@programming.dev on 19 Sep 2024 02:18 collapse

Kitty is the terminal emulator, the program that provides an interface. The shell you are using if you haven’t changed anything is probably bash. So you would use duneshell instead of bash, but still in kitty

Sanctus@lemmy.world on 19 Sep 2024 02:22 collapse

Hell yeah, doing this right now on my work laptop.

Sanctus@lemmy.world on 20 Sep 2024 21:22 collapse

Update: borked my install, can’t open shells. Also dont remember root so live image to the rescue.

cosmicbytes@programming.dev on 19 Sep 2024 02:57 next collapse

This sounds very similar to “rash” which is based on racket

The name conflicts with the build tool used for ocaml, which is also called dune.

jerkface@lemmy.ca on 19 Sep 2024 03:03 next collapse

Pros and cons vs eshell?

Trigger2_2000@sh.itjust.works on 19 Sep 2024 03:11 collapse

Just because you can do something, doesn’t mean you should do it.