Re:Why Create a New Unix Shell?
by ComputerGuru on Wednesday January 31, 2018 @06:04PM
(#16278374)
Both support for `&&` and `||` (instead of `and` and `or`) as well as supporting `FOO=bar command` are under consideration for fish 3.0 to ease the migration path. The former is pretty much going to happen, the latter if we get around to it, DV.
This would be much appreciated. I know there are a few people on my team that cam't use fish due to our npm scripts needing to be compatible with cmd
Re:Why Create a New Unix Shell?
by ComputerGuru on Friday February 02, 2018 @10:25AM
(#16291207)
Why don’t your npm scripts specify /bin/sh as the interpreter?
Where things get problematic is with commands that send a set of environment variables to stdout, like
eval $(ssh-agent)
Sure you can get addons (like bass[0]) that will translate the sh environment variable settings to fish, but it’s a pain to have to do that (and remember wth it was called).
And in my experience 90% of those are in the form `FOO=bar command` which can be replaced with `env FOO=bar command` and works just fine in fish.