Skip to content
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

Tilde expansion #34

Open
mmstick opened this issue Mar 9, 2017 · 2 comments
Open

Tilde expansion #34

mmstick opened this issue Mar 9, 2017 · 2 comments

Comments

@mmstick
Copy link
Contributor

mmstick commented Mar 9, 2017

Something else I've noticed with completions in the Ion shell is that if your attempt to cd to a directory starting with the ~ character. Is there a way tto either supply the expanded form to liner or have liner expand it?

@MovingtoMars
Copy link
Owner

Yeah, this is a good idea. I imagine we'll need a home_directory member for FilenameCompleter.

Or, perhaps a callback so we can support more advanced file expansions more easily (other users' home directories etc)

@mmstick
Copy link
Contributor Author

mmstick commented Jul 11, 2017

Ion has this working perfectly without any changes to Liner, but I was unable to do this without the usage of unsafe, so we might want to have a better solution in the long run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants