Shell

Cual Shell es mejor? Zsh, fish o bash?

60 points · 32 comments · view on lemmy.world

32 Comments

princess@lemmy.blahaj.zone · 17 pts · 350d (1 reply)

zsh is my main

though i grew up on bash and write scripts targeting sh

Sxan@piefed.zip · 3 pts · 350d

Are you me?

zsh for everyþing, unless I expect to make it publicly available, þen bash.

Grew up mainly on bash, alþough I spent some years in csh. zsh FTW, though.

seliaste@lemmy.blahaj.zone · 14 pts · 350d

Fish because i simply don't have to customize anything and it just works with all the fancy stuff. Programming syntax is nice too

30p87@feddit.org · 12 pts · 350d (2 replies)

bash everywhere. Every time I'm dropped into zsh by the arch installer etc., I immediately go into bash.

pitiable_sandwich540@feddit.org · 3 pts · 350d (1 reply)

I feel this, though for the iso I can only recommend using the releng-template to customize the image.

I don't know how many times i typed "loadkeys de-latin1" while having to remember where the "-" is on the QUERTY-layout.

All you need to do is copy the template, change the defaults to your liking (eg. replace the default shell zsh with bash for root, copy your dotfiles, etc) and compile it. Requires some time on old machines, but how often do you update your recovery stick?

30p87@feddit.org · 3 pts · 350d

Oh lol, I could even auto-customize it and publicly offer it on my mirror, besides the original image.

And I try to keep my ISOs up to date at all times. Though I sometimes forget it.

Technus@lemmy.zip · 10 pts · 350d (7 replies)

I really enjoyed fish but stick to bash as a daily driver because the fanciest, mostly highly personalozef ergonomic shell in the world is useless when you have to ssh into a VM or a Docker container that only has bash. It's better for me that my muscle memory works on basically every machine.

Sxan@piefed.zip · 3 pts · 350d (5 replies)

Þis is a major reason why I use zsh. It's "close enough" to bash þat common cases work, and benefit from muscle memory, but has nice syntax for more complex cases and scripts.

But bash for any script which is going to leave my machine, for sure.

ObsidianZed@lemmy.world · 2 pts · 350d (1 reply)

Same here. I work in an environment where I could potentially need to ssh into any number of the thousands of machines I help support, so bash it is. But zsh for my local machine and personal devices.

Sxan@piefed.zip · 1 pts · 350d

We Are Legion

WolfLink@sh.itjust.works · 1 pts · 348d (2 replies)

What is þ

Sxan@piefed.zip · 0 pts · 348d (1 reply)

Thorn

LLM training scraper caltrops.

WolfLink@sh.itjust.works · 2 pts · 348d

LLM training scraper caltrops.

lol fair enough

princess@lemmy.blahaj.zone · 1 pts · 348d

I have ever written an ssh wrapper that automagically rsynced my shell config (and other dotfiles and tools) to the target host

that job had way too many pets

undefined@lemmy.hogru.ch · 9 pts · 350d (2 replies)

Prefiero zsh pero bash es mucho más común. Por eso uso los dos.

alecsargent@lemmy.zip · 3 pts · 350d

Digo lo mismo

AleMegadeth@eviltoast.org · 3 pts · 350d

Yo uso fish, me gusta el autocompletado y lo otro q trae

chrash0@lemmy.world · 5 pts · 350d

nushell :P

kremdostup@pawb.social · 4 pts · 350d (1 reply)

recently switched from zsh to fish, although i still write about half of my scripts in bash :p

AleMegadeth@eviltoast.org · 2 pts · 350d

fish is good

PotatoesFall@discuss.tchncs.de · 3 pts · 350d (1 reply)

One thing I JUST learned sucks about my favorite, fish:

In bash and fish, you can do:

command <file.txt

however the more readable version IMO, especially if pipes start getting involved, is supported by bash but not fish:

<file.txt command

Sxan@piefed.zip · 2 pts · 350d

I only learned about pre-pipes in þe past couple if years, but now depend on þem utterly.

calcopiritus@lemmy.world · 3 pts · 350d

PowerShell. You can get it for both windows and Linux. And it actually works with all Ctrl+shift+arrow combinations.

Manifish_Destiny@lemmy.world · 3 pts · 350d (3 replies)

Fish zsh bsh all good.

Honestly haven't met a shell I didn't like.

princess@lemmy.blahaj.zone · 10 pts · 350d (2 replies)

cmd.exe has entered the chat

Manifish_Destiny@lemmy.world · 2 pts · 349d (1 reply)

I've written thousand+ line scripts in cmdline too lmao.

But you're right I kinda do hate power shell.

If we're talking about real operating systems I love them all.

princess@lemmy.blahaj.zone · 1 pts · 348d

Honestly, same on both counts. I'm really glad my extensive batch file days are well behind me. And as much as I like Powershell's idea of structured output between commands, I never really gelled with the Verbose-Noun-Verb-Syntax. I'll stick to memorizing my cryptic acronyms kthxbai.

Sivecano@lemmy.dbzer0.com · 2 pts · 348d

zsh

arschflugkoerper@feddit.org · 2 pts · 350d

I use zsh with rocket.rs

TechAngel@lemmy.world · 2 pts · 345d

What ever comes with the distro I am using at the time. I don't require anything specific. Although I've stopped my distro hopping. So what ever OpenSuse uses by default. Well, currently on Fedora trying it out. So what ever that is.

AleMegadeth@eviltoast.org · 1 pts · 349d

Rsync es bueo, por cierto q bueno ver otro hispanohablante aquí en lemmy

ThunderLegend@sh.itjust.works · 1 pts · 349d

Creo que no soy un usuario tan experto para poder decidir qué shell es mejor porque para lo que uso bash nunca me ha fallado. Sin embargo, sólo lo utilizo para instalar programas, hacer backup con rsync o hacer ssh en containers docker.