News for hackers. Stuff that matters.
Re:Fish - The friendly interactive shell by astine on Sunday September 13, 2009 @09:19PM (#820891)
This is an older article. It seams to list a few ways that Fish attempts to improve on older shells, but appears to be a little out of date.

Fish has a nice design document that gtive a better understanding of what it is about: http://fishshell.org/user_doc/design.html

Fish's real advantages isn't so much it's list of features, but the fact that they come pre-configured. That, and the fact that Fish sacrafices backwards compatiblity with other shells to make a cleaner command language and a more manageable environment. I like being able to configure an environment variable without tinkering with my .bashrc or .profile. Granted, I can't easily reasonably install it on the solaris machines at work, but it doesn't make my home computing environment much nicer.

Re:Fish - The friendly interactive shell by whirlycott1 on Sunday September 13, 2009 @07:39PM (#820759)
The programmability of a shell just isn't interesting to me. Whenever I start hacking a shell script, it either starts out as just two or three lines or it evolves to the point where I feel like I need a "real" language. At that point, I'll end up hacking it in perl or python.

In the meantime, I'm happy enough with bash.

Re:Fish - The friendly interactive shell by weavejester on Sunday September 13, 2009 @09:15PM (#820888)
I find that Fish is better for interactive use. It has as-you-type syntax highlighting and indentation, and the tab completion tends to be better.
Re:Fish - The friendly interactive shell by jimbokun on Sunday September 13, 2009 @08:02PM (#820786)
I would like to see the interactive Read Eval Print Loops of one of these languages finish closing the gap and become good shell replacements. I find I can get close to that sometimes with interactive programming environments, but not quite.
Re:Fish - The friendly interactive shell by jdp on Sunday September 13, 2009 @08:53PM (#820852)
There's rush: "rush is a replacement for the unix shell (bash, zsh, etc) which uses pure Ruby syntax" from http://rush.heroku.com

I haven't used it though, I actually switched from bash to fish about 6 months ago

Re:Fish - The friendly interactive shell by maelstrom on Sunday September 13, 2009 @10:27PM (#820972)
Have you tried ipython? http://ipython.scipy.org/moin/ Pretty close...
Re:Fish - The friendly interactive shell by cturner on Monday September 14, 2009 @03:08AM (#821251)
I've been thinking about this also and was planning this week to change one of my login shells to just pythn to trial it. I've now got two small line-based editors running in python (one is an ed clone, the other is simpler and uses list comprehension), and it's simple enough to write wrapper functions around the bits you need to change directory and spawn process. There's no standardisation of effort, but it's completely doable just on your own system. I realise it's probably not at the top of your mind, but can you think what you found missing when you last tried it?
Re:Fish - The friendly interactive shell by gjm11 on Sunday September 13, 2009 @08:06PM (#820788)
Well, there's scsh (http://www.scsh.net/), but it's not under active development any more.
Re:Fish - The friendly interactive shell by stuntmouse on Monday September 14, 2009 @03:05AM (#821246)
Which is a shame.

I just found shelisp [1] which, despite the questionable name, looks simple and promising.

[1] http://dan.corlan.net/shelisp/

Re:Fish - The friendly interactive shell by christopherolah on Sunday September 13, 2009 @09:21PM (#820892)
I posted a couple of hacks for fish here: http://christopherolah.wordpress.com/2009/06/13/a-couple-fis...
Re:Fish - The friendly interactive shell by mattyb on Sunday September 13, 2009 @07:43PM (#820763)
Re:Fish - The friendly interactive shell by jsz0 on Sunday September 13, 2009 @09:50PM (#820928)
I use fish on all my machines at this point. It's nice to have really smart auto-completion. I know bash can do some of this if you configure it correctly but I'm all about reasonable defaults. I can't be bothered with lots of configuration changes on every machine I touch.

One word of warning, and this probably applies to any shell, you should keep one of your sudoers on bash or sh. I've had a few occasions where something broke fish so when I logged into the machine via ssh I would see a few error messages and the session would terminate when the shell died locking me out of the system. I never figured out what broke fish in the first place but it's taught me the value of having a fallback user/shell for emergencies.

Re:Fish - The friendly interactive shell by pyre on Sunday September 13, 2009 @09:54PM (#820932)
> I can't be bothered with lots of configuration changes on every machine I touch.

Every machine you touch may not have the option of fish. Having a reasonable .bashrc (and even .cshrc -- I've been on machines where bash was broken) is key to doing any sysadmin/dev work on linux/unix boxes.

Re:Fish - The friendly interactive shell by silentbicycle on Sunday September 13, 2009 @10:35PM (#820980)
Right, the only standard shell is sh.
Re:Fish - The friendly interactive shell by pyre on Monday September 14, 2009 @03:57AM (#821294)
Most systems will have at least bash, csh or tcsh. I've yet to run across a system that only had ksh or zsh (or something exotic).
Re:Fish - The friendly interactive shell by travisjeffery on Monday September 14, 2009 @03:37AM (#821278)
Fish is good but development has all but ceased on it.