doas pkg remove fish
#fishshell
@b0rk Some tricks are almost specific to #bash (I'm #fishshell user), but it's ok
Alright, I have achieved the dream*:
A single-file redistributable #fishshell
https://github.com/faho/fish-shell/actions/runs/14088378224
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
@categulario un 10 para #fishshell
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.
My search for the bug involving my terminal emulator and my shell didn't work as expected
I still need to learn a lot, but wow, scripting for #FishShell is quite fun. It's like combining the sanity of #Python with the immediacy of a shell. They even have something like pathlib.
Can you not use ctrl-spce to `accept-autosuggestion` in the recent #fish anymore? I was possible binding the `nul` key to do this, but this seems to not work anymore?
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.
https://gist.github.com/Profpatsch/af85283b7a1961fc2d56362a6efa033d
Terminal users!
What you should never forget to install on a fresh linux:
#starship - fancy prompt
#atuin - next-gen shell history
#zoxide - teleport in file system
#fishshell - command line vim keybindings
What are YOUR must have not to feel naked??
Übung scripting in der fish shell erfolgreich.
#fishshell #fishshell4
Why did the #fishshell suddenly changed my caret style to line?
Levels of #linux filesystem inspection speed!
Level 1.
List a directory content.
$ ls -alh
Level 2.
Get a fancy output, replace ls with eza.
alias ls='eza'
Level 3.
Recursively list directory content (tree view)
$ alias tree='eza --tree -algh -L 2'
What's your level 4!?
Yazy, dust...?
Die friendly interactive shell ist ja wirklich recht nice.
Erstmal die Optik des Prompts anpassen. Oh guck ein vi mode. Cursor und Modusanzeige anpassen. Dumdidumdidum
Ach, die Skriptsprache ist ja recht verständlich...
Toll, wieder ein neues Hobby.
#fishshell released to 4.0.0 5 days ago! its core is now in #rustlang #rust woot!
「 fish’s core code has been ported from C++ to Rust. This means a large change in dependencies and how to build fish. However, there should be no direct impact on users 」
fish
became a bit slower after being ported to rust……time fish -i -c 'for var in (seq 0 999); ls ~ > /dev/null; end; exit'
fish 3.7.1
1.66 s, 1.63 s, 2.00 s
fish 4.0.0
2.28 s, 2.31 s, 2.24 s
#fish-shell #fish4