Comments (3)
Spaces in paths is more a Windows thing than a Linux thing, so if the user just uses Windows path resolution for Windows paths (rather than completing through /mnt), this is less problematic.
from powershell-wsl-interop.
OTOH if your current directory is c:, for example, and you try to resolve "Program Files" or another relative folder with spaces, Linux completion will take over which will recognize the first directory element, but then fail to resolve further.
Believe I'd need to modify how the COMP* variables are setup for paths with spaces in them since they are likely being considered multiple arguments, and the escaped characters might also be interfering with resolution.
from powershell-wsl-interop.
This seems to be fixed just by surrounding spaced paths with single quotes, though the cursor position needs to be moved to within the closing quote for completion to continue. Will see if that can be resolved later.
from powershell-wsl-interop.
Related Issues (20)
- Commands are not saved HOT 2
- Error loading profile HOT 6
- Wsl Default Paramter Error HOT 15
- Completion not working for default shells other than bash HOT 26
- PowerShell passes trimmed command to bash completion. HOT 7
- \\wsl$\<distro_name>\<path> UNC path syntax is not converted HOT 3
- Piping to less doesn't work with WSL2 distro HOT 11
- Cannot run npm/nvm HOT 16
- Bash Completion for python based commands (Ansible) HOT 8
- Make WslDefaultParameterValues dynamic not static HOT 3
- Argument completion only works for the first command in a pipeline
- wsl.exe ls is super slow (is this due to vmIdleTimeout=60 seconds) HOT 1
- -exec Parameter for "find" does not work properly HOT 2
- Command execution broken in Powershell 7.3.0 HOT 6
- `zsh:1: permission denied:` HOT 6
- Is there a way to export aliases from WSL2, so I can use them in PowerShell? HOT 2
- Feature Request: Ability to define bash functions that can be used either in the shell or PowerShell profile. HOT 1
- Awk not working correctly HOT 5
- Install-Module WslInterop makes profile loading very slow HOT 1
- Importing WSL Bash aliases to Powershell
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 powershell-wsl-interop.