liner icon indicating copy to clipboard operation
liner copied to clipboard

Tilde expansion

Open mmstick opened this issue 7 years ago • 2 comments

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?

mmstick avatar Mar 09 '17 22:03 mmstick

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)

MovingtoMars avatar Mar 22 '17 00:03 MovingtoMars

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.

mmstick avatar Jul 11 '17 23:07 mmstick