ridiculousfish on master
Stop ignoring initial command i… (compare)
I'm assuming you meant the latter by "member of the block to execute", and so the answer is: Because it was annoying otherwise, so we changed it.
Because the other behavior might be "clean" from a theoretical standpoing, but also 100% useless:
if foo if test $status -ne 0 bar end echo hello end
Here, to get to the
foo would have to fail. But once it fails the if-block won't be entered anymore, so that
bar is unreachable! It can't be used! It's dead!
__fish_config_interactive, or some other heavy weight scripts, and ask yourself if you really find it all that elegant.
Damn, I really, really don't like that. Just a suggestion, but if it were me, I'd deprecate that usage of or in an if conditional with the semicolon preceding, and either A. Add documented syntax for 'or' used there without a semicolon, or B. move to || as the supported method. >.<
or without a semicolon is quite literally not possible and switching to just
|| won't happen.
whence -q seq || alias seq=jotquite doomed
rbenvfor example which I'd like to run
caffeinate rbenv, is there any better way than creating functions or binstubs for each of those?
caffeinate, in some cases post a desktop notification, in some cases both)
pmsetbefore and after the command accordingly instead of running the command "in"
caffeinate, I had hoped to not have to take care of state myself 😀