+1 for scripting with fish. Reduced the LOC in my scripts collection by probably 50%, while increasing legibility/maintainability by probably at least 100%. Absolute beast of a lang.
It’s its own language, but it doesn’t break existing e.g. bash scripts because you declare them to be bash with #!/bin/bash in the first line right? So your shell doesn’t matter. Also you can always nest shells and just run bash if you really need it
You just shouldn’t set it as your login shell because of that, they have tutorials on that on their website and the Arch wiki explains it too
fish is a nice shell btw, but yeah, meh on bash
Using bash is saner than any ZSH config out there, fish on the other hand is peak
Uh, check zsh4humans. It is basically fish, but with powerlevel10k terminal skin which is blazing fast.
Thanks, but I like my sane defaults Rust shell and as a scripting lang, fish is also really nice
+1 for scripting with fish. Reduced the LOC in my scripts collection by probably 50%, while increasing legibility/maintainability by probably at least 100%. Absolute beast of a lang.
@alsaaas @Gwen I’ve actually looked a bit into fish before, but didn’t switch
does the lack of posix compliance not cause issues in practice? like, has it ever broke some script you wanted to run?
It’s its own language, but it doesn’t break existing e.g. bash scripts because you declare them to be bash with #!/bin/bash in the first line right? So your shell doesn’t matter. Also you can always nest shells and just run
bashif you really need itYou just shouldn’t set it as your login shell because of that, they have tutorials on that on their website and the Arch wiki explains it too
I LOVE fish!