News for hackers. Stuff that matters.
Re:Fish: Finally, a command line shell for the 90s by StavrosK on Wednesday June 06, 2012 @07:46AM (#4073261)
I stopped using fish a while ago, when it would crash whenever I opened a console session (so I couldn't do anything when X didn't start). I switched to zsh with fish emulation, but lately I realized I have a shell that takes much longer to start up and basically does everything fish does, and nothing more.

If fishfish is more stable, I'll switch in a heartbeat.

Re:Fish: Finally, a command line shell for the 90s by Freaky on Wednesday June 06, 2012 @02:43PM (#4075424)
> I stopped using fish a while ago, when it would crash whenever I opened a console session (so I couldn't do anything when X didn't start)

This is why I launch my interactive shell from a failsafe /bin/sh instead of using chsh. If zsh ever messes up horribly, I end up back in a good old bog standard shell prompt.

Re:Fish: Finally, a command line shell for the 90s by graywh on Thursday June 07, 2012 @12:06PM (#4079688)
I was just wondering how you accomplish that.
Re:Fish: Finally, a command line shell for the 90s by Freaky on Thursday June 14, 2012 @12:17PM (#4112044)
I put this at the end of my ~/.profile:

    REALSHELLS="/usr/local/bin/zsh /usr/bin/zsh"
    for REALSHELL in $REALSHELLS; do
    	if [ -e $REALSHELL ]; then
    		if ! $REALSHELL -l; then
    			echo "$REALSHELL exit $?"
    		fi
    		echo "$SHELL exit in 1s, Ctrl-C to abort"
    		sleep 1 && exit
    	fi
    done
    echo "No shells in [$REALSHELLS] found, falling back to $SHELL"
Re:Fish: Finally, a command line shell for the 90s by div on Wednesday June 06, 2012 @08:10AM (#4073310)
I'd been using fish for a year or two before switching to zsh too.

The main reason for me to give it up is because I could not get it to work smoothly with rvm.

I've gotten quite used to zsh by now, and I have to say, I don't feel much for having another go at fish just to run into the same limitations again.

Re:Fish: Finally, a command line shell for the 90s by msluyter on Wednesday June 06, 2012 @01:10PM (#4074911)
I just downloaded it and while it looks awesome, I see the rvm problem. I haven't used zsh but I'm assuming from your comment that zsh is compatible with RVM. Seems like it shouldn't be too hard to write a fish version of the script that sets up your rvm environment, but if you've gone down that path and it proved too painful I won't bother. However, perhaps fish + rbenv works. Has anyone tried that?
Re:Fish: Finally, a command line shell for the 90s by roryokane on Wednesday June 06, 2012 @06:41PM (#4076573)
Yes, I switched from rvm to rbenv because rvm didn’t work with fish. rbenv did work with fish.

I switched away from fish after that because go (a directory-jumping tool) required bash to install (http://code.google.com/p/go-tool/wiki/InstallNotes). I didn’t know how to port that bash code to fish, since I don’t know bash scripting, and I also anticipated that I would keep finding cool programs that didn’t work with fish.

Re:Fish: Finally, a command line shell for the 90s by hei_zen on Tuesday June 12, 2012 @04:34AM (#4099456)
Just add those two files listed here (https://github.com/eventualbuddha/fish-nuggets/commit/186775...) to ~/.config/fish/functions, and everything should work out just fine.