APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > Unix Articles > Go Fish: The Friendly Interactive Shell
Printer Friendly Version




Go Fish: The Friendly Interactive Shell



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 http://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 http://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 (http://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.


Technorati tags:
If this page was useful to you, please click to help others find it:  
Your +1's can help friends, contacts, and others on the web find the best stuff when they search.


Comments?




More Articles by Anthony Lawrence - Find me on Google+



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

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. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




Buy Kerio from a dealer who knows tech: I sell and support

Kerio Connect Mail server, Control, Workspace and Operator licenses and subscription renewals
pavatar.jpg

This post tagged:

       - Linux
       - MacOSX
       - Shell
       - Unix




Unix/Linux Consultants

Skills Tests

Guest Post Here