17
it's just the worst (lemmy.world)
(page 2) 30 comments
sorted by: hot top controversial new old
[-] LiveLM@lemmy.zip 1 points 3 months ago

Me hitting tab on any shell that isn't fish

[-] pseudo@jlai.lu 1 points 3 months ago

I'm not tring that on my machine. What does it does?

[-] boonhet@sopuli.xyz 1 points 3 months ago

Prints out what shell you're using. Bash is default for most Linux distros. MacOS switched from bash to zsh as their default. Zsh is hella customizable, by default it functions more or less like bash.

Fish is cool, has neat quality of life features out of the box, but can also break scripts sometimes.

[-] SolarBoy@slrpnk.net 1 points 3 months ago* (last edited 3 months ago)

For me it does not seem to print anything

I'm using fish, which is great :)

[-] pseudo@jlai.lu 1 points 3 months ago* (last edited 3 months ago)

Thank you. TIL.

[-] thethunderwolf@lemmy.dbzer0.com 1 points 3 months ago* (last edited 3 months ago)

Good scripts don't break in other shells, they use a shebang

[-] specialwall@midwest.social 1 points 3 months ago

What specifically do you dislike about zsh?

[-] uid0gid0@lemmy.world 1 points 3 months ago* (last edited 3 months ago)

It's the index on 1 that ruins it for me.
Edit: come to think of it what would zsh print out for echo $0?

[-] kali_fornication@lemmy.world 1 points 3 months ago

tbh it's fine and i use it a lot more than bash.

[-] CrypticCoffee@lemmy.ml 1 points 3 months ago

A 4chaner has friends? Fake nerd copium.

[-] IrateAnteater@sh.itjust.works 0 points 3 months ago

I switched from bash to zsh a while ago, mostly just for shits and giggles. I really can't see any reason to form a strong opinion on it one way or the other.

[-] Pika@sh.itjust.works 1 points 3 months ago* (last edited 3 months ago)

I went from bash to fish to zsh. I can see why people would like having fish as a shell. but I hated scripting on it and if I'm going to be triggering a different shell for scripts anyway, I might as well skip the middleman, not re-invent the wheel and just use zsh with plug-ins that way I only have two shells installed instead of three. Adding the auto-complete plugin and a theme plugin for zsh gives most of fishes base functionality and design while making it so I don't need to worry about compatibility.

Maybe someday when I'm less code oriented, I will re-look at fish, but I don't see it happening in the foreseeable future.

load more comments (6 replies)
[-] yardratianSoma@lemmy.ca 0 points 3 months ago

I have never really ever used bash and thought, "Man, I wish my shell was better . . . ". Using ctrl+r to recall past commands, using sudo !! to fix missing permissions and writing small bash scripts all work very well.

That being said, if you use anything else, and you like it, I'm happy for you, but I do wonder, what leads people to other shells? What problems do they have with bash?

[-] Ephera@lemmy.ml 0 points 3 months ago* (last edited 3 months ago)

To me, it genuinely makes a huge difference that I don't have to manually press Ctrl+R for history search. Because 9 times out of 10, I accept a history suggestion from Fish where I did not think about whether it would be in my history.

This includes really mundane commands, like cd some/deeply/nested/path/. You would not believe, how often I want to cd into the same directory.
But I've also had it where I started typing a complicated docker run command and Fish suggests the exact command I want to write, because apparently I already ran that exact command months ago and simply forgot.

[-] astro@leminal.space 0 points 3 months ago

I used bash for 20 years and, while I obviously knew that there were alternatives, it never seemed necessary to switch. Tried fish on a whim a few months ago and I will never go back.

[-] ben@feddit.dk 0 points 3 months ago

Do you know if fish can input arguments from prevous commands like ESC + . does in bash?

load more comments (1 replies)
load more comments (1 replies)
load more comments
view more: โ€น prev next โ€บ
this post was submitted on 12 Jan 2026
17 points (87.0% liked)

linuxmemes

31160 readers
296 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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 will not be tolerated.
  • 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 sudo in 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 figuresWe 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.

    founded 2 years ago
    MODERATORS