5 ms·
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 wit
by StavrosK 14y ago
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.
- div 14y agoI'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.
- msluyter 14y agoI 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?
- roryokane 14y agoYes, 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 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.
- hei_zen 14y agoJust add those two files listed here (https://github.com/eventualbuddha/fish-nuggets/commit/186775c746dd86cd94900269ee89e0c75e1db9d8 https://github.com/eventualbuddha/fish-nuggets/commit/186775...) to ~/.config/fish/functions, and everything should work out just fine.
- Freaky 14y ago> 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.
- graywh 14y agoI was just wondering how you accomplish that.
- Freaky 14y agoI 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"