-
-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mixed slashes on Windows #1828
Comments
Hmm, the reason it's this way is that if the user typed a @fgimian Is there a specific reason you'd use |
Thanks for the response. I found that Elvish would not offer completions when using Cheers |
Aha, I see what the problem is now. I was only testing completion after something like The problem is actually a bit deeper than tab completion - on the language level, Elvish can't expand |
Ahh, and yeah you're right, I usually base my paths from Thanks so much for all your help! |
What happened, and what did you expect to happen?
Hi there, firstly forgive me if I'm missing something as this is my first day using Elvish.
On Windows, Elvish seems a little mixed up about which slashes to use on a Windows system:
Suppose I'm trying to get to
C:\Users\<username>\source
:cd ~\so
and hitting tab does not provide completionscd ~/so
works and completes with mixed slashescd C:\Users\Fots/source\
source
path, hitting enter and then tab, forward slashes are used but the/
from the first completion is not normalised (e.g.C:\Users\Fots/source\checksum-validator\
)path:join dir1 dir2
uses\
characters as expected (dir1\dir2
)I think this feels a bit awkward to work with.
My hope would be that both
/
and\
would trigger completions and paths would always be normalised to use the native\
separators to remain as widely compatible with CLI tools.Huge thanks for your time
Fotis
Output of "elvish -version"
0.20.1+official
Code of Conduct
The text was updated successfully, but these errors were encountered: