Skip to content

Fix issue #11281. #11396

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

Merged
merged 2 commits into from
May 24, 2015
Merged

Fix issue #11281. #11396

merged 2 commits into from
May 24, 2015

Conversation

blakejohnson
Copy link
Contributor

This does not address the issue raised in #11281 of the regular expression r"^~(?:/|$)" not being windows-compatible for directory expansion. However, tilde expansion is not normally supported on windows consoles, and our expanduser method is effectively a no-op there. So, I am tempted to mark this regex block as @unix_only.

@dhoegh
Copy link
Contributor

dhoegh commented May 22, 2015

It would be ok to make it a @unix_only. A test of the feature should be performed, after all the rest of REPLCompletion is among the best covered in base.

The problem is that `prefix` ought to be "" when the string is just the tilde.
@blakejohnson blakejohnson force-pushed the brj/fix-tilde-expansion-error branch from 12e4464 to 39e83f7 Compare May 23, 2015 02:44
@tkelman tkelman added the REPL Julia's REPL (Read Eval Print Loop) label May 23, 2015
@blakejohnson
Copy link
Contributor Author

As for making a test, do we have write access to homedir() on Travis?

@blakejohnson blakejohnson merged commit 220801b into master May 24, 2015
@blakejohnson blakejohnson deleted the brj/fix-tilde-expansion-error branch May 24, 2015 02:28
@tkelman
Copy link
Contributor

tkelman commented May 24, 2015

do we have write access to homedir() on Travis?

Yeah, otherwise packages would all have to be setting custom locations

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 09cd655 on brj/fix-tilde-expansion-error into ** on master**.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants