DEV Community

Fulton Browne
Fulton Browne

Posted on

Whats your favorite shell

Is it BASH, ZSH, or something else?

Latest comments (38)

Collapse
 
mehdico profile image
Mehdi Mousavi • Edited

ZSH with Oh my zsh

Collapse
 
pavanmehta profile image
Pavan Maheshwari

zsh with oh my zsh. ZSH autocomplete and other such plugins are a bliss.

Collapse
 
hwolfe71 profile image
Herb Wolfe

I've been using tcsh for over 20 years on my Linux/Unix systems. It was the default shell when I first got a Unix account in college.

On Windows, I've been using NYAOS for it's similarity to tcsh.

Collapse
 
moopet profile image
Ben Sinclair

Bash.

Partly for the same reason as the other Bens here, because it's ubiquitous.

But I dislike when people evangelise other shells for spurious reasons. Things like oh-my-zsh are 99% bloat, and people go on about how great they are, when you can do everything they do with bash anyway. Zsh has some really annoying history and completion as far as I'm concerned, like if you hit up-arrow too soon before returning to the prompt it thinks you're trying to history-complete whatever was your last command.

I also resent that since the move to Zsh by MacOS, users are saying how great it is - well it's great because you've been stuck on a really old version of bash on your computer because your provider, Apple, doesn't like free software. This isn't a reason to use Zsh, it's a reason to not use MacOS. I think most of the arguments in favour of Zsh get this the wrong way around.

Then there're ash and dash. I have no particular opinion of them but think they're OK.

I've tried fish. I don't particularly like it. Nothing I can put my finger on, just feels like a whole lot of pointless features and colours that don't really help me, and a slew of things that aren't quite compatible enough.

I think MUDsh is hilarious but also hilariously unusable. I totally recommend giving it a go.

Everything else, your Cees and Kays and TeeCees and their kin, are older than power suits and shoulder pads and they feel like it.

I'm quite a heavy scripter, even though - like most users I suspect - I don't use at least 50% of the features of the shell anyway. Bash is enough, and it's reliably enough.

Collapse
 
sophiabrandt profile image
Sophia Brandt

Fish because auto completion rocks. I didn't know I needed it until I used fish.
But I'm not happy that the shell not posix compliant.

Collapse
 
sabareeshk1991 profile image
Sabz

defenetly ZSH

Collapse
 
mjgs profile image
Mark Smith • Edited

In the early days of my career I used csh, but back then I hardly even knew what a shell was, then I started using bash, and at some point I went down the oh-my-zsh rabbit whole because it was trendy, but apart from a few interesting aliases, and maybe the prompt with a few nice bits of info, I hated it. I found everything counter intuitive and unobvious. So I got rid of that and installed fresh bash totally stock, and setup some dot files with my own aliases, it’s simple, minimalist, works everywhere, I find all the commands much more obvious to me.

Collapse
 
mjgs profile image
Mark Smith • Edited

Sorry for the typos, my iOS device is constantly “correcting” words when I’m not looking.

Promo should be prompt

Update: I found the edit button, few.

As for scripting ... bash all the way! It feels very antiquated (if you are used to Nodejs/python/PHP etc) at first but the manual is very short, and once you know a few key concepts it’s rather straight forward

Collapse
 
cadams profile image
Chad Adams • Edited

I like fish because it has the best auto complete. I use ZSH for scripting because it’s the default in Mac Catalina.

Collapse
 
prateek_thedev profile image
Prateek Gurnani

Its always BASH for me.

Collapse
 
fitrh profile image
Fitrah Muhammad

in any UNIX-Like environment, i always run chsh -s fish after installation

Collapse
 
fultonbrowne profile image
Fulton Browne

I even did it on my phone :)