-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
expand tilde to home in pathnames #161
Comments
Maybe you should file a bug about least surprise to rakudo about issues you have with tilde expansion. |
Having a sensible implementation of ~/ should be trivial. Replacing ~/ with |
Wait, why? |
++@AlexDaniel, that sounds like an upstream feature request |
Because it's useful, and a lot of people will expect it. This would not be necessary if perl6 took arguments like «--install-to ~/local/share/perl6», but sadly it doesn't by default. |
@Leont but you can use Zef should not mangle arguments. I doubt any proper tool in existence does that. |
Proper makes it a no true scotsman argument, but I have maintained tools that did this (e.g. Module::Build |
Correct. But I'm more interested in seeing their justification (if there is any, which I originally doubted, so that we wouldn't need to do bikeshedding ourselves) than playing fallacy games. From the ticket for
That's interesting. I don't know if |
--install-to=~/local/share/perl6
treats the tilde as literal character, making it a pathname relative to the current directory. That's running counter to rule of least surprise. To fix this, either--install-to ~/local/share/perl6
so that the shell takes care of expanding the tildeThe text was updated successfully, but these errors were encountered: