DEV Community

Cover image for Ch-Ch-Changes: to shell and back

Ch-Ch-Changes: to shell and back

Den McHenry on March 31, 2018

I hadn't gotten around to reading Remy Sharp's command line book yet, so I bought his terminal training course when he put it on a flash sale. One ...
Collapse
 
nickytonline profile image
Nick Taylor

Thanks for the article @denmch . I'm a big fan of the fish shell. I was using zsh before, but then gave fish a try and haven't really looked back. My whole dev setup is here if you're interested.

For switching shells, you can definitely run chsh again, but if you're in your preferred shell and just need to drop back into bash, you can just run bash and you end up right back in the bash shell.

If you're in fish, I use bass to make bash utilities runnable in fish.

Looking forward to your next post!

Collapse
 
dmerand profile image
Donald Merand • Edited

Great article! I'm a big fan of the Fish Shell, glad to see it being mentioned and used.

I think of Fish not as a beginner shell, but a very advanced one, for when you're ready to stop dealing with the inconsistencies and bloat in other shells. I think of it as advanced because if you ever write shell scripts that you want to be portable, you'll probably have to use something else. After trying bash and zsh for years each, I now write all of my (non-personal) scripts to be POSIX-compliant, but use Fish for my daily driving, and have never been happier!

Collapse
 
taggervng profile image
tag hatle

Wow, I wish I'd read this a few months ago! I tried switching to zsh to follow some tutorials but didn't even know what it was, so switching back to something I was familiar with for regular use was super confusing. These metaphors make everything I was struggling with back then make much more sense, thanks for this article!

Collapse
 
burdettelamar profile image
Burdette Lamar

Omnium enim rerum principia parva sunt.