Darren Schroeder

Results 2076 comments of Darren Schroeder

my preference in most things is to implement first, optimize later. it's always hard to know the exact perfect implementation before something has been tested.

I'm not sure it makes a difference unless there's a problem with `sys` but you could try `$nu.os-info.name` to check the os. It should be many times faster. It's also...

what happens if you put the part on the right side of the = in parentheses?

I got a little closer with this ` alias test = (if $nu.os-info.name == windows { bash '/mnt/c/Program Files/nodejs/npm' } else { ^npm })` but the syntax highlighter is still...

oh, wow. you're right. that's a bug. I just updated my path with this and didn't think to check to see if it "took". it did not work for me...

@kubouch i bet this is related to some of the things you've been seeing too, with ordering env before config and whatnot.

Mine is working again. I have no idea why but just is in my path again. I've compiled and worked on several versions/branched/bugfixes today. ![image](https://user-images.githubusercontent.com/343840/178353573-fdc9dd6b-9e86-4707-a6a1-347633570f3a.png)

@dbuch can you please confirm this is now fixed in the latest main branch?

Thanks. I'll close these.

i'm confused. isn't that by design? I mean how can you call an external if you don't have access to it to see it, read it, write it, execute it?