fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#fishshell

5 posts5 participants0 posts today

Alright, I have achieved the dream*:

A single-file redistributable #fishshell

github.com/faho/fish-shell/act

that contains a "fish" binary each for x86_64 and aarch64 linux and aarch64 macOS** that you can put on any system with a matching CPU made in the last 12 years or so***, and

it will just run. it doesn't need to extract its files. it doesn't ship two sidecar binaries****.

it. will. just. run.

and you can make these yourself by running cargo build with the right git branch (or the next minor release).

* Listen, I'm a weirdo nerd and I don't have big ambitions, okay?
** the mac builds are untested. I'm pretty sure they would have to be "codesigned", whatever that is
*** I'm not entirely sure where the limitation lies, but I've heard it crashes on an intel CPU from 15 years ago
**** fish_key_reader and fish_indent are builtins now, and if you call "fish" with those names (like via a symlink) it will act like them

The user-friendly command line shell. Contribute to faho/fish-shell development by creating an account on GitHub.
GitHubstaticbuilds · faho/fish-shell@e0a9779The user-friendly command line shell. Contribute to faho/fish-shell development by creating an account on GitHub.

Otro día, otra herramienta de #SoftwareLibre para el #DiaDeLaVisibilidadDelSoftwareLibre . Hoy les quiero hablar de nuestra señora y salvadora: #FishShell .

Como dice su slogan: finalmente, un shell para los 90's

¡Y es que es cierto! muchos shells se fueron por hacer cosas fancy, coloridas, brillantes, pero ¿saben qué? Solo necesitábamos un shell que funcionara, con soporte para control de versiones, buen completado y un lenguaje de scripting razonable.

Cursed thing of the day: I can type

foobar | :: write a jq command that filters out the fields bla and baz

and hit `Ctrl+g` in fish now, and it will pass everything after :: to @simon ’s `llm` tool, replacing it inline with the generated LLM output.

It works … surprisingly well.

I wrote the fish script with a lot of help by ChatGPT, which went pretty okay for the most part.

gist.github.com/Profpatsch/af8

pass everything after :: to an LLM and replace the output in the fish shell command line - llm_replace_commandline.fish
Gistpass everything after :: to an LLM and replace the output in the fish shell command linepass everything after :: to an LLM and replace the output in the fish shell command line - llm_replace_commandline.fish