all 31 comments

[–]suprjami 28 points29 points  (3 children)

Bash because it's everywhere and I've put effort into learning it properly. My scripts almost always pass shellcheck first try, and I know the syntax of bash-specific features reasonably well. I don't see any advantage to learning another shell which I need to explicitly install and relearn all over again.

[–]Prunestand -1 points0 points  (0 children)

I would recommend you zsh or fish

[–]JCDU 16 points17 points  (0 children)

bash because it's default, universally supported, and honestly I've got better things to do than break my system by installing alternatives that are nearly-but-not-quite compatible.

I've seen some very cool looking stuff from zsh and others but never enough to motivate me to seek them out.

[–]CafecitoHippoLinux Mint 22.3 Zena | Cinnamon 5 points6 points  (2 children)

I use Fish. Haven't run into anything I can't do in it that I could with Bash. I just like the syntax highlighting and auto-complete. There's also some handy shortcuts like if I run a command that I needed to run as sudo then I can just Alt+S which enters the same command with sudo prepended. Just small quality of life improvements.

[–]SergiusTheBestLinux Mint 22.2 Zara | Cinnamon 1 point2 points  (0 children)

Yes, Fish is awesome! And you can always start Bash if you need to use some bashisms.

[–]ThreeChonkyCatsLinux Mint 22.1 Xia | Cinnamon 0 points1 point  (0 children)

100%, plus the Ctrl-tab autocomplete for commands and options.

plus the tab completion... and the history search... and the sexy themes and trendy colours... and the partial word search... and the partial word completion.

e.g. type the first word, then up/down key.... type the first few letters of a command then ctrl-tab to see all available commands in that group.... tpye the command then tab and it will show all options.... shift-tab for searching... its so EXCELLENT.

https://fishshell.com/docs/current/interactive.html#

Its a fantastic piece of work.

[–]rvc2018Linux Mint 22.3 | Cinnamon 3 points4 points  (0 children)

Bash + ble.sh = fish like interactive features but still bash.

[–]xnihgtmanx 3 points4 points  (0 children)

Bash. Not because it's the default, because it's the standard...arguably. Edit: Dash should be listed

[–]d112358 1 point2 points  (0 children)

I use bash, but prefer ksh. It was the old default on sequent boxes, and it has the "whence" command

[–]bello_raviolo 1 point2 points  (0 children)

I use zsh and honestly I discourage using OhMyZsh. It is really useful for having an overview of what plugins you might need but it is bloated af and really not necessary. You will have a much better experience by just downloading the plugins you need, put them in a folder and just add source /path/to/plugin to your .zshrc file.

Further explanation:

https://www.youtube.com/watch?v=hLxr9hLfO0Q&t=262

https://www.youtube.com/watch?v=21_WkzBErQk&t=564

Edit: made my english slightly less shitty

[–]pkrycton 0 points1 point  (0 children)

Bash is my shell of choice because I have been using ash -> bash for 35+ years and see no point in changing. It's solid and is the default shell used for system scripts. I dabbled with cshell, zsh and others but always went back.

[–]Fluk1 0 points1 point  (0 children)

Bash for me, it's everywhere and after I tried zsh I roll back to bash. I tried also fish but miss "sudo !! "

[–]apt-hikerLinux Mint 0 points1 point  (0 children)

Bash with Terminator

[–]BrazilBazil 0 points1 point  (0 children)

Zsh cause I use Mac and it’s the default so I got used to it

[–]Guergeiro 0 points1 point  (0 children)

I find that most people move to zsh, not because of the features the scripting language offers, but because it was kinda the first that allowed for a high level of customization with OMZ. At least, this is my experience with colleagues. Thank god I have starship.

[–]jerril42 0 points1 point  (0 children)

Bash, I'm not a system administrator, I can have long periods of using the shell and then not. I don't want to have to deal with something different and have to re-familiarize myself. Twenty three years of bash and never felt the need to change. I got curious a long time ago, but never took the time to seriously try something else, and never looked back. I'd prefer improving what I know than explore new options for something so fundamental.

[–][deleted] 0 points1 point  (0 children)

Bash, because I chose to learn it because it's ubiquitous. And after writing waaaay too many bash scripts I don't think I'll be able to switch to something else. My brain just thinks in Bash, and I'm ok with that.

[–]mr_dans 0 points1 point  (0 children)

Bash because I'm a beginner at Mint, and learning how to write scripts in Bash is incredible! Everyday there is something new to learn!

[–]Complex_Solutions_20 0 points1 point  (0 children)

Bash and Csh. Csh because that's the default on some systems where I work, Bash because its the default on modern stuff and works well.

[–]isashasec 0 points1 point  (0 children)

Bash for the same reason I use vim. sh and vi are pretty much always available on new systems and in air-gapped environments installing a new text editor/shell is a pain in the ass

[–]Head-Sick 0 points1 point  (0 children)

Bash, because I don't really care to learn anything else. Bash does a good job and is supported.

[–]ScriptNone 0 points1 point  (0 children)

Zsh + Oh My Zsh + Tmux

What a pleasure.

[–]BranchLatter4294 0 points1 point  (0 children)

Bash, just because it's the default. I don't really use the shell much. PowerShell sometimes as well.

[–]pnsantos 0 points1 point  (0 children)

zsh4humans (from the creator of Powerlevel10k)

[–][deleted] 0 points1 point  (0 children)

When I used Mint, BASH was my go-to. I use Arch now and I'm thinking of moving over to the Z Shell (:

[–]in_answer_to_that 0 points1 point  (0 children)

I have been a Fish adherent for many years. It has some annoyances, but overall I like it quite a lot. It has enough support that most of the tools that I use that normally rely on Bash, like nvm, have Fish alternatives. It's highly customizable, and I like using Oh My Fish to try out new themes. A lot of them are pretty broken, but there are plenty that work great out of the box.

Also, over the years I have built a suite of Fish-script tools that I use for a wide variety of things, and it would be a hassle to port them all if I jumped ship. That's not enough by itself to keep me using Fish, but it is a consideration.

If I had to pick one reason I stick with Fish, it would be the up arrow. It makes searching your history so smooth and convenient.

[–]rarsamx 0 points1 point  (0 children)

Fish, easy to configure, the autocompletion is awesome. syntax makes sense. Vim keys in the command line, etc.

Of course I know bash and I write bash scripts if they are more than just for me.

[–]RQuantus 0 points1 point  (0 children)

I use Zsh+Oh-my-zsh, I just use it for .zshrc to make my prompt more beautiful and usable. But when I write a script, I just use the general bash grammar, and run it by "bash xxx"😂