Pookleblinky is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

I switched to fish from zsh, and love everything about it except its scripting. I don't feel like writing fishscript.

So I'm starting rksh, scsh except in Racket and with painless interactivity.

First, I had to add plt to my ppa list, because my default racket version is 5.4 and the modern is 6.8.

Then, gritted my teeth as it installed via http. What the fuck. At least now I have racket 6.8

Next I raco installed docs.racket-lang.org/scripty/i scripty, which lets you specify dependencies in a preamble under the shebang, and docs.racket-lang.org/shell-pip, which does what it says on the tin.

Note: scsh is basically bitrotten nowadays. Last touched in 2006? It'd be nice to use it as a reference point, but I can't install it from the repo or from scratch (I tried).

Anyway, I don't want to make a shell. I don't feel like moving to a shell less powerful than zsh or fish.

What I want is to be able to script with racket, interactively or not, instead of fish script.

I want to be able to open a repl, brainfart a one-liner, see it as idiomatic bash, preview its output, plop it into a script for reuse, etc.

There are a couple other attempts at modernizing scsh, but as I said I don't want or need a new shell.

Pookleblinky @Pookleblinky

groups.google.com/forum/m/#!to

The creator of Rash and shell-pipeline *also* hasn't touched an actual scsh in years due to its bitrot.

· SubwayTooter · 0 · 1
@pookleblinky historical note: I did the first port of scsh to Mac OS X back in the day