-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
In shell mode, auto-expand directories so ~
works.
#27293
Conversation
I decided I really like being able to use |
Possible to add a test? |
I'm not sure how to test REPL code? |
There's stuff in stdlib/REPL/test that could be a relevant model for a test. |
Okay; I added some tests by directly editing |
Sure, why not? |
Is that in response to me asking whether editing |
The whole PR. |
Please be careful to check that CI can pass before merging (ref #27497). |
Even if it eventually times out for other reasons on a flaky worker, please at least check that the file with the added test was run. |
Is this what was causing the timeouts on Windows? |
My bad, I was looking at the |
Probably; the |
Yes, that Timer is a rather absurd bit of dead code, haha. I've got another commit to replace it with something useful. I plan to open a PR for it once the critical fix PR is merged (see 603359d).
It happens. I'm pretty sure that CI stability is a self-fulfilling loop, so the real solution is to block merging on any CI failures, and thereby ensure that CI is stable by definition (modulo failures of our CI provider). That's not your fault though. |
If we're going to allow tab-completion with
~
in shell mode, we should allowcd()
to work with it as well. I would argue that all commands should useexpanduser()
but this PR only does so for;cd
at the moment.Closes #22181