Live data from Hacker News

fish shell

fishshell.com

71–78 of 78 posts

Re: fish shell

#71

I really liked fish, but as someone who is still learning bash/cli scripting, it makes things difficult when instructions from programs come only in Bash syntax, which does not work well with fish (some things with homebrew were an absolute nightmare to install).

How I installed Homebrew from fish: bash ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Re: fish shell

#72
post #18

The fact that you cannot redirect stderr to stdout and pipe to another command is a bit of a stumbling point for me. When I saw the bug[1] for the first time I thought that it must be some strange corner case, but it turns out it is a real bug. After reading the bug report I started to wonder if there were any other other unixy features that were missing. I/O redirection is a core unix concept in my opinion. [1] "Red…

What made me finally stop trying to use it is that you can't modify the environment of a command like so: HOWDY=pardner env.

Re: fish shell

#73
post #12

I like the features it has, but every time someone post a link to fish shell, I wonder why I would switch from bash or zsh. Will this really be THAT MUCH BETTER? Will I just run into weird errors? Is it totally sh compliant? These are important things to know and should be on the homepage.

I am a year-or-two-old fishshell convert who is reasonably well versed in bash and tried using zsh and bash with a big .bashrc. A few things stand out to me as huge pluses: - It has a lot of cool functionality out of the box such as highlighting, smarter autocomplete (type in a partial word at the prompt and hit up instead of the cumbersome bash ctrl r/s history prompt that loves to beep at you), directory history (a…

I just want to throw in that you can get that nice up-arrow-history in bash too. It's the first thing I put in a new bash environment:

  bind '"\e[A":history-search-backward'
  bind '"\e[B":history-search-forward'

Re: fish shell

#75

I've been using fish for a while now. Overall it's pretty great. Here's my fish config if you want to see an example: https://bitbucket.org/sjl/dotfiles/src/tip/fish/config.fish

Thanks for posting your config. I've learned a lot from it. In return, here is my Fish config. https://github.com/jramnani/dotfiles/tree/master/fish

As you'll see, I like the way Fish automatically loads functions from, "$HOME/.config/fish/functions/". It keeps my config.fish file pretty lean.

Re: fish shell

#76

I've been using fish for a while and have generally been very happy, I'm even working on creating a set of functions for ROS to integrate with fish the way it currently does with bash and zsh. My one tiny gripe is the way that if I 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/null Also, writing autocomp…

That's very interesting, especially for people interested in using ROS as an educational platform.

It would be pretty amazing, considering the file resolution properties of ROS. I actually love it since I don't have to be in the same directory and it's easy to go through many projects.

Just curious what sort of work are you doing on ROS. Earlier this year I was working on simulation stuff in Gazebo.

Re: fish shell

#77

I've been using fish for a while and have generally been very happy, I'm even working on creating a set of functions for ROS to integrate with fish the way it currently does with bash and zsh. My one tiny gripe is the way that if I 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/null Also, writing autocomp…

That's very interesting, especially for people interested in using ROS as an educational platform. It would be pretty amazing, considering the file resolution properties of ROS. I actually love it since I don't have to be in the same directory and it's easy to go through many projects. Just curious what sort of work are you doing on ROS. Earlier this year I was working on simulation stuff in Gazebo.

I'm a robotics software engineer at Vecna, working on our QC Bot[1]. We use a combination of ROS and our own Java stuff for the robot system, and since I'm a long time fish user I started doing the port for my own use. I've been working on getting the patch into shape for actually going upstream in the 4 hours per week we get for community service, contributing to open source, etc.

[1]https://www.vecna.com/solutions/hospital-delivery

Re: fish shell

#78

I've been using fish for a while now. Overall it's pretty great. Here's my fish config if you want to see an example: https://bitbucket.org/sjl/dotfiles/src/tip/fish/config.fish

Gotta say, this one is my favorite: 112 function hey_virtualbox_shut_down_or_i_will_fucking_cut_you 113 VBoxManage controlvm $argv poweroff 114 end

I've always been a fan of die_you_gravy_sucking_pig_dog() from the FreeBSD source.

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sbin/sh...

Post reply on HN