APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Go Fish: The Friendly Interactive Shell

© February 2006 Anthony Lawrence

When I first saw a reference to Fish, well, let's just say that I didn't rush to download it. I think about changing shells about as often as I think about shaving my head and joining a religious cult: it just isn't going to happen. If it does happen, check my head for large bumps and demand positive identification: you may be talking to an imposter or I may have suffered a head injury.

I mean really: "bash" is fantastic. If you are a tcsh user or have even more esoteric tastes you no doubt have the same fantatical attachment to your favorite. It would take a LOT for most of us to even think about changing shells.

Well, I'm still not planning on changing. But.. the more I read about Fish, the more I found myself nodding my head and thinking "yeah, that *should* be that way". For example, take the business of code blocks. In bash and all sh descendants, we are accustomed to the various possibilities to end blocks: esac, fi, done and of course "}" to end a function definition. I've never given that a second thought, but really it's silly; look how Fish does it:

if true; echo hello; end
for i in a b c; echo $i; end
switch $you; case '*'; echo hi; end
function hi; echo hello; end

Sheesh. That makes a lot more sense, doesn't it? There's a lot more; I suggest reading https://arstechnica.com/articles/columns/linux/linux-20051218.ars/2 - not because you are any more likely to switch to this than I am, but just because it is interesting to think about the deficiencies and oddities we put up with every day.

I downloaded source to my Mac from https://roo.no-ip.org/fish/; there are binary Linux RPM's also. For reasons I really can't imagine, I had to download Doxygen also (https://www.stack.nl/~dimitri/doxygen/download.html) and

cp /Applications/Doxy*/Contents/Resources/doxygen ~/bin

Other than that nonsense, ./configure, make, and sudo make install was all that it took.

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> Go Fish: The Friendly Interactive Shell

Inexpensive and informative Apple related e-books:

Take Control of High Sierra

Digital Sharing Crash Course

Take Control of OS X Server

Sierra: A Take Control Crash Course

iOS 10: A Take Control Crash Course

More Articles by © Anthony Lawrence

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

It all sounds good from the pulpit,but come Monday morning all the sinners are back to business as usual writing crappy code. (Tony Lawrence)

Linux posts

Troubleshooting posts

This post tagged:




Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode