Qi Xiao

Results 250 comments of Qi Xiao

@zshbleaker 中国已经有句古话了,得想个别的语义

这个语义上略牵强了……

搞成 `try/finally` 的话语义就好不少了

Can you share the output of "all $paths", and tell me if it gets better if you manually set paths to be a smaller list? Windows tends to accumulate a...

Oh, and WSL by default inherits Windows's PATH I think, and IO is even slower across the subsystem boundary.

I'd recommend that you use it as a workaround for now (most of the Windows binaries are probably not that useful from WSL) but I'll look into adding caching.

I guess having this issue in the issue tracker is good enough for now.

> > Manually setting the paths to a small list gives me the expected responsiveness > > That is because you have removed paths that require WSL to map Unix...

Getting back to this. I'm considering stealing a design [from Raku](https://docs.raku.org/routine/temp). Introduce a special command (say `tmp`) that does temporary assignment within the current scope. An example: ```sh var x...

Also, if there is already a scope, using `tmp` is actually more concise. For example, to and run something using each subdirectory as the working directory: ```sh for d [*/]...