Live data from Hacker News

Fish shell

fishshell.com

101–110 of 188 posts

Re: Fish shell

#101
post #65
post #54

Earlier quoted context omitted.

Why would a software system that relies on bash not explicitly use bash for its scripts?

Bad developers. For example, I used Arch Linux for a number of years, where `/bin/sh` is a symlink to bash. Switching that to point to `dash` broke a number of programs both in the official repositories and the AUR. A lot of shell scripters can't spot a bashism, and just as many don't know that other shell syntax even exists.

More likely, and somewhat less judgmentally, developers that are ignorant of the distinction.

Unless you want to define "bad" as "ignorant of some facet of computing" in which case we all fit.

Re: Fish shell

#103
post #91
post #66

Earlier quoted context omitted.

> Only problem is it's not POSIX so there is some weirdness in command substitution, logical operators and stuff. So you still script in sh. Yeah some wild-card matching stuff doesn't work, also for example expanding `pkg-config --cflags gobject-2.0` as one would in bash requires calling eval gcc. On the other-hand it's not like Bash doesn't have weird gotcha's -- for example does anyone remember which of these is a…

I'm never sure when these plugs become too much, but... I created a language called bish that allows you to write your shell scripts in a sane and comfortable syntax. No more remembering which one of those conditionals to use! Bish compiles to bash, so you also get to keep all of the portability that comes with bash scripts. I haven't had much time to work on it recently, and it's still missing some features, but it'…

> I'm never sure when these plugs become too much, but...

Long ago. IIRC this is the thing that translates something looking sort of like a subset of (Python? Haskell? C? I can't remember which.) into mostly-working Bash. It's a terrible idea.

Re: Fish shell

#105

Hey, I'm the lead dev of the fish shell. There's some great discussion in this thread! For those who are interested, the fish shell is about to release version 2.2, a very significant release that wraps up eighteen months of development. You can try the beta now: http://fishshell.com/beta/ A sampling of new features: - vi mode (yay!) - Abbreviations, fish's take on aliases. They expand as you type them. - A new "inli…

[deleted]

Re: Fish shell

#106

Hey, I'm the lead dev of the fish shell. There's some great discussion in this thread! For those who are interested, the fish shell is about to release version 2.2, a very significant release that wraps up eighteen months of development. You can try the beta now: http://fishshell.com/beta/ A sampling of new features: - vi mode (yay!) - Abbreviations, fish's take on aliases. They expand as you type them. - A new "inli…

Thanks!

I used fish years (2006/7 era) ago as my default shell, and I really appreciated the functionality in helping to make unix easier to use.

Re: Fish shell

#107
post #92

Earlier quoted context omitted.

Using fish doesn't mean you have to stop using existing bash scripts.

I understand that, but my point was that Fish is yet another big missed opportunity.

I'm still not certain what you are missing from it? It's not perfect but good enough for an interactive shell at this point. Good to stick to .sh for deployed simple scripts on 'nix though.

Fish won't become PowerShell, that's for sure. I like the idea of PowerShell, but it's a bit too ugly in person. I'm happy enough with cmd, cmder, and Python for scripting.

Re: Fish shell

#108
post #105

Hey, I'm the lead dev of the fish shell. There's some great discussion in this thread! For those who are interested, the fish shell is about to release version 2.2, a very significant release that wraps up eighteen months of development. You can try the beta now: http://fishshell.com/beta/ A sampling of new features: - vi mode (yay!) - Abbreviations, fish's take on aliases. They expand as you type them. - A new "inli…

[deleted]

Could you elaborate on 'the symlink problem?' I just installed 2.2 and symlinks seem to function as expected to me.

Re: Fish shell

#109
post #65

Earlier quoted context omitted.

Bad developers. For example, I used Arch Linux for a number of years, where `/bin/sh` is a symlink to bash. Switching that to point to `dash` broke a number of programs both in the official repositories and the AUR. A lot of shell scripters can't spot a bashism, and just as many don't know that other shell syntax even exists.

More likely, and somewhat less judgmentally, developers that are ignorant of the distinction. Unless you want to define "bad" as "ignorant of some facet of computing" in which case we all fit.

I can't think of any other definition of "bad" when it comes to programming. But I do appreciate your sentiment and realize I was being unjustly negative.

Re: Fish shell

#110

Fun with fish, frogs and fortunes: https://gist.github.com/montanaflynn/04246fc5da998d15e713

I don't get the logic behind a shell initialization file that tries to 'apt-get install' anything.
Post reply on HN