Comments (9)
What's your $PATH
under WSL2? WSLv1 (and I think WSLv2, but I'm not sure) have an insanely long PATH by default.
from fish-shell.
Actually, I checked the path before, but I didn't think it was too long at the time because it can be that long under Windows; Then I compared it with another server and found that it was indeed quite long.... Thanks! Problem solved. But I still have a question. It seems that having a long PATH under Windows does not significantly slow down PowerShell or even when using oh-my-posh, does it?
from fish-shell.
Two different issues, first is that accessing Windows paths from WSL Linux binaries is slow because of how Microsoft implemented it, second is that normal pattern is to look up commands you expect to find, which means you can stop looking as soon as you find the first match. By contrast, if you have something like if not command -q foo
and there's a good chance foo
isn't found, you need to search each of those directories and not stop until you have exhausted them all.
#10506 attempts to work around this specific WSL issue.
from fish-shell.
Thank you for your very good answer
from fish-shell.
For reference, this was closed by the combination of 3374692 (which is #10506) and 8c62f73 (which extended that to WSLv2).
from fish-shell.
do we want changelog entries for these fixes?
from fish-shell.
do we want changelog entries for these fixes?
Definitely for this one. I already tagged the PR with the release notes label.
from fish-shell.
I already tagged the PR with the release notes label.
As far as I see it the process for changelog is to look at every issue/PR that is not yet mentioned in CHANGELOG.rst (and belongs to the relevant milestone).
So I don't use labels for this (or anything else).
from fish-shell.
I don't know myself, I think it's something I saw others doing :)
But I added this to the changelog.
from fish-shell.
Related Issues (20)
- count full width space (aka Ideographic Space or U+3000) as a space HOT 3
- Default completion for less doesn't include all options HOT 1
- [feature] environment variable conditional exports HOT 1
- Mistyping argument shows fish error HOT 5
- Fish segfaults after every fork() after running a command that leaves stdout in non-blocking mode HOT 10
- Fish has stopped suggesting autocompletions HOT 4
- "yes" would trigger unstoppable new lines HOT 2
- Fzf ** is not working HOT 3
- user fault, found in documentation as working as designed ( indexing "echo array[$first..$last]" should be the same using command substitution output as "echo (output stuff)[$first..$last] but fails in latter case when using variables for index)
- Argument is not a number: 'Alacritty' HOT 4
- Document how to get function definition HOT 3
- Inconsistent literalization behavior of `{ ... }` context HOT 2
- Implement `string unescape --style=regex`
- `...` instead of `../..`, `....` instead of `../../../`, etc HOT 5
- *Escaped* NUL is taken to mean end-of-string at the command line HOT 3
- `__fish_seen_argument` cannot handle long arguments like `--config=thisA` HOT 1
- fish_indent --write only write file if formatting changed
- vi mode: Better differentiate between `aw`, `iw` and `w`, `e` text-objects HOT 2
- misleading suggestion to use a bracketed variable HOT 2
- Make `__fish_print_help` formatting be more like man pages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fish-shell.