No such thing as a good shell... (I just want something that's both posix-compatible and good)
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudoin Windows. - No porn, no politics, no trolling or ragebaiting.
- Don't come looking for advice, this is not the right community.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
I use fish as my shell because itβs the easiest to work with, but I basically always script with sh or sometimes bash
I donβt use bash, bash uses me
I've never understood the need for fish. The shell experience is basically the same as zsh, and although it's much more pleasant to script for, you miss out on compatibility with POSIX-compliant snippets, and besides, if you're writing long and complicated scripts that need anything more than a handful of scalar variables you should probably be using Python (or Perl if you're an old-school masochist).
I had nu on my Windows PC and I thought I could get away with it because I hate PowerShell so much, but then IT came and kicked it into quarantine. Now I'm zsh-ing on wsl.
Why didn't I install nu there? Can't remember.
Nerds
telnet
β°οΈ
bash without the bash-completion package
friend brought me some seashells

As a ham-handed individual , I absolutely LOVE fish shell. Started using it like 3 years ago and never looked back.
How do you deal with when the guide has commands that only work in bash
you can run bash scripts in fish. The syntax is bash ./script.sh
Edit: I'm being unhelpful/funny. I just read through the fish manual, and it's so nice and agree that if it was just a bit more bash friendly it would have great uptake
Heh. Good stuff.
More! ;D I want to see all the shells, characterised so.
... Fish [over[1]]user here. Ooh, good burn. LOL.
[1: Not just user. Overuser. I do most of my scripting in fish. Think that's not overuse yet? ... I even wrote my own text editor in fish.]
