Remix.run Logo
phil294 a day ago

I like it and would like to see an entire Linux OS being done in a similar manner. Or shell / wrapper / whatever.

A sane homogeneous cli for once, that treats its user as a human instead of forcing them to remember the incompatible invocation options of `tar` and `dd` for absolutely no reason.

    zip my-folder into my-zip.tar with compression level 9
    write my-iso ./zip.zip onto external hard drive
    git delete commit 1a4db4c
    convert ./video.mp4 and ./audio.mp3 into ./out.mp4
    merge ./video.mp4 and ./audio.mp3 to ./out.mp4 without re-encoding
And add amazing autocomplete, while allowing as many wordings as possible. No need for LLMs.

One can dream.

PaulDavisThe1st 18 hours ago | parent | next [-]

> write my-iso ./zip.zip onto external hard drive

Dang! not that one, the other one!

> zip my-folder into my-zip.tar with compression level 9

What do you mean, I don't have write permissions in the current working directory? I meant for you to put the output in $HOME, i mean /tmp, i mean /var/tmp, i mean on the external hard drive, no other other one.

> git delete commit 1a4db4c

What did you do? I didn't mean delete it and erase it from the reflog and run gc! I just mean "delete it" the way any one would ever mean that! I can never get it back now!

phil294 15 hours ago | parent [-]

Things that definitely need interactive prompts before running or fail out of ambiguity otherwise. Let's not pretend these are impossible problems to overcome design-wise.

ishandotpage 14 hours ago | parent | prev | next [-]

I think you may enjoy [Nushell](https://www.nushell.sh)

self_awareness 17 hours ago | parent | prev | next [-]

Why not use Windows or macOS then? You don't need to use shells there.

I would prefer not to change the technical aspects of Linux. I actually cherish it.

troupo 5 hours ago | parent | prev | next [-]

> One can dream

That was the promise of COBOL. And SQL. And AppleScript. And ABAP. And...

It never works out the way you want it.

dheera 21 hours ago | parent | prev [-]

See my more generalized CLI helper which does exactly this:

https://github.com/dheera/scripts/blob/master/helpme

Example usage:

    helpme ffmpeg assemble all the .jpg files into an .mp4 timelapse video at 8fps
    helpme zip my-folder into my-zip.tar with compression level 9
    helpme git delete commit 1a4db4c
    ...
This originated from an ffmpeg wrapper I wrote but then realized it could be used for all commands:

https://news.ycombinator.com/item?id=40410637