Live data from Hacker News

Fish: Finally, a command line shell for the 90s

ridiculousfish.com

61–70 of 155 posts

Re: Fish: Finally, a command line shell for the 90s

#64
post #18

They need to update the slogan? "A command line shell for the 90s" doesn't really draw me in. What I want to know: 1. In what specific ways is it better than zsh? 2. Is it absolutely, rock-solid stable?

When I saw the slogan, I thought it was ironic. I kind of like it.

Agree. I'm happy there's finally a Mac term app that can support the same emacs color scheme I was using on a Linux desktop 14 years ago!

Re: Fish: Finally, a command line shell for the 90s

#65
post #42
post #39

Earlier quoted context omitted.

can zsh autocomplete man pages?

Yes it can. Add something like this to your zsh config: zstyle ':completion:*:manuals' separate-sections true zstyle ':completion:*:manuals.*' insert-sections true zstyle ':completion:*:man:*' menu yes select

That's it. This thread sold me. Installing zsh now!

Re: Fish: Finally, a command line shell for the 90s

#66
post #56

Is there any possibility to provide vi mode? Like 'set -o vi' in bash.

you could always put "set editing-mode vi" in your ~/.inputrc .. this has the advantage of affecting all programs which use readline, gnuplot, python shell, mysql etc.. I also put

"\e[A": history-search-backward

"\e[B": history-search-forward

in the ~/.inputrc which maps arrow up/down to history search.. more tips here http://vim.wikia.com/wiki/Use_vi_shortcuts_in_terminal

zsh has a better vi-mode than most of the shells I've tried, although I can't say I've made a serious attempt at using fish..

the color syntax highlighting implemented in zsh is much slower than the fish equivalent though, and can be quite laggy ime

Re: Fish: Finally, a command line shell for the 90s

#68
post #36

Earlier quoted context omitted.

~/.config/fish/config.fish http://ridiculousfish.com/shell/user_doc/html/index.html#ini...

I don't see that there...

The directory ~/.config/fish should be there. However, you'll have to create the file config.fish inside that directory, if you want to use it.

I'd hazard a guess that fish_config may do that for you.

Re: Fish: Finally, a command line shell for the 90s

#70

Doesn't seem to be in Homebrew yet (I mean this fork; the original Fish is there). That brings me to the question: What is different in this fork? Is it worth to use this fork or should I stick to the original?

The features mentioned on the homepage were added to this fork.
Post reply on HN