by atldev on 8/16/13, 3:24 PM with 75 comments
by dfc on 8/16/13, 4:48 PM
[1] "Redirect stderr to stdout and pipe doesn't work as expected" https://github.com/fish-shell/fish-shell/issues/110
by stevelosh on 8/16/13, 3:59 PM
Here's my fish config if you want to see an example: https://bitbucket.org/sjl/dotfiles/src/tip/fish/config.fish
by 9ac345a5509a on 8/16/13, 3:37 PM
https://news.ycombinator.com/item?id=5723235
https://news.ycombinator.com/item?id=5567639
https://news.ycombinator.com/item?id=4073162
by JelteF on 8/16/13, 6:02 PM
One of my main commandline utilities is git in combination with git-flow(amazing). I found the normal git completion lacking. I believe branches didn't get completed correctly in combination with some commands. The git-flow completion was non existent.
When that changes I might try it again. But for a shell that has tabcompletion as a selling point I was very unimpressed.
by appplemac on 8/16/13, 4:46 PM
However, it seems like Fish is not fully POSIX-compatible, therefore you can face weird problems in Vim plugins, for example.
by ballard on 8/16/13, 9:20 PM
For people that exploit redirection, file handle rewiring, here docs and such... consider zsh with https://github.com/sorin-ionescu/prezto
by matthewlehner on 8/16/13, 3:50 PM
by mmanfrin on 8/16/13, 8:37 PM
by Symmetry on 8/16/13, 7:30 PM
set foo this that "the other"
then echo $faux; echo $faux[1]
doesn't produce anything, but echo $foo[4]
gives me an error message that I can't just pipe to /dev/nullAlso, writing autocompletes for functions is both far simpler than in bash, but I'm also missing some of tools that bash provides.
by fjcaetano on 8/16/13, 4:06 PM
by sdfjkl on 8/16/13, 8:14 PM
A few things I occasionally run into: You can't just paste somebodies setup instructions into your shell anymore (you can temporarily invoke bash for that though). And when writing setup instructions yourself, sh is still pretty much the standard. VirtualEnv generates an activate.fish out of the box - nice! I still occasionally type !grep by accident. And I do miss &&.
by d5ve on 8/16/13, 5:30 PM
function import_bash_aliases --description 'bash aliases to .fish function files.'
for a in (cat ~/.bashrc | grep "^alias")
set aname (echo $a | grep -Eoe "[a-z0-9]+=" | sed 's/=//')
set command (echo $a | sed 's/^alias .*=//' \
| sed 's/^ *\'//' | sed 's/\' *$//' )
echo "Processing alias $aname as $command"
if test -f ~/.config/fish/functions/$aname.fish
echo Function $aname is already defined. Skipping...
else
alias $aname $command
funcsave $aname
end
end
end
by patrickg on 8/16/13, 5:04 PM
by mkname on 8/16/13, 7:14 PM
by dmotz on 8/16/13, 6:40 PM
A replacement is easy enough though and is in my config here: https://github.com/dmotz/dotfiles/blob/master/functions/sudo...
Beyond a few other syntax incompatibilities, I've enjoyed using it.
by 0xACE on 8/16/13, 6:47 PM
Maybe if it was at least somewhat bash or POSIX compatible I would be on board, but the developers don't even seem to want to help us out in that regard.
by reledi on 8/16/13, 10:37 PM
Here's a presentation I gave to my local coder community on fish: http://www.youtube.com/watch?v=SWmKfb2jQhU
by cwp on 8/16/13, 11:59 PM
Now that's an odd slogan. Is it trying to make the point that the competition is even older? Appeal to old-school hackers? Subtly tell me that the project hasn't been updated in a while?
by atldev on 8/16/13, 3:26 PM
by tuananh on 8/16/13, 4:17 PM
by aidenn0 on 8/17/13, 5:22 AM
by pit on 8/16/13, 5:05 PM
by hrkristian on 8/16/13, 3:59 PM