News for hackers. Stuff that matters.
Re:Fish: Finally, a command line shell for the 90s by llambda on Wednesday June 06, 2012 @08:21AM (#4073335)
I've been using the original fish[1] for years. I'm very biased, I love fish for many reasons and despite the claims that zsh can do the same things I've never had cause to switch from it. Now it was quite disappointing to see the original fish project seemingly halted. So this isn't simply great news, in the sense that development has been picked back up in the fishfish fork, some great improvements have been made at the same time!

    * autosuggestion
      (this actually has a great amount of utility for me.
       it complements tab-completion quite well!)
    
    * optional web-based config
      (great for quickly editing your config settings)
    
    * speed improvements
      (although I never suffered from much lag with fish
       to begin with)
Overall I think the usability and utility of fish is greatly improved in this fork. Also it's worth pointing out that in terms of out-of-box functionality, some of fishfish features would be very hard to match. Things like autocompletion and simple history scrollback based one partial string matching set fish apart from the pack imo. So far, I'm quite impressed and I hope that more people adopt fishfish as the de facto replacement for fish.

[1] http://fishshell.com/

Re:Fish: Finally, a command line shell for the 90s by qznc on Thursday June 07, 2012 @08:24AM (#4078614)
Have they found a better way for setting environment variables for single commands? The following bash command looks quite ugly with fish:

  LANG=C foo
Re:Fish: Finally, a command line shell for the 90s by g3orge on Wednesday June 06, 2012 @09:29AM (#4073676)
can zsh autocomplete man pages?
Re:Fish: Finally, a command line shell for the 90s by jeekl on Wednesday June 06, 2012 @09:39AM (#4073727)
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
Re:Fish: Finally, a command line shell for the 90s by fu86 on Wednesday June 06, 2012 @03:50PM (#4075819)
This does not work for me. If I type "tree -" and press [tab], nothing happens.
Re:Fish: Finally, a command line shell for the 90s by trebuch3t on Wednesday June 06, 2012 @11:53AM (#4074518)
That's it. This thread sold me. Installing zsh now!
Re:Fish: Finally, a command line shell for the 90s by AnthonBerg on Wednesday June 06, 2012 @03:38PM (#4075737)
Tried fish yet? I prefer it to zsh ...
Re:Fish: Finally, a command line shell for the 90s by adimitrov on Wednesday June 06, 2012 @09:39AM (#4073733)
Yes. zsh can also auto-complete command line arguments for a lot of commonly used commands (including the GNU utilities, git, mutt, mplayer, imagemagick's convert and others.)
Re:Fish: Finally, a command line shell for the 90s by p4bl0 on Wednesday June 06, 2012 @09:48AM (#4073779)
Bash too can do that. It does by default in Debian for instance, it also does cool things like autocompleting filenames based on which command is already typed (so it won't autocomplete to some pdf filename if the command is mplayer), autocompletion depending on config files (alias from ~/.ssh/config and /etc/hosts, remotes from the git config, package names when the command is apt-*…).

About fish, for the history based autocompletion of commands, how is that different from Bash's C-r?

Re:Fish: Finally, a command line shell for the 90s by lobster_johnson on Wednesday June 06, 2012 @11:19AM (#4074313)
Bash has completion, of course, but does it have autocompletion? Big difference as getting completions without hitting the tab key changes how you interact with the line editor.
Re:Fish: Finally, a command line shell for the 90s by alextingle on Wednesday June 06, 2012 @04:43PM (#4076124)
Bash's auto completion is a child's toy compared to Zsh's.
Re:Fish: Finally, a command line shell for the 90s by jonshea on Wednesday June 06, 2012 @07:13PM (#4076693)
People say this kind of thing a lot, but I’m pretty sure it’s simply not true. bash-completion handles pretty much everything I can imagine already, and can be extended to handle anything you can express programmatically.
Re:Fish: Finally, a command line shell for the 90s by pferde on Thursday June 07, 2012 @08:53AM (#4078719)
Care to back that FUD up with some proof?
Re:Fish: Finally, a command line shell for the 90s by sjs on Wednesday June 06, 2012 @04:19PM (#4075972)
And when it cannot complete arguments, just hit `ESC h` or Alt-h to get help on the current command you're typing. (See also: `ESC q` or Alt-q)