[nushell] Quote paths inserted by CTRL-T (#4919)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
- Selections were appended to the command line as-is, so a path with spaces became several arguments and syntax in a file name was left unquoted for the parser - Read the selection with --print0 and serialize each path with `to nuon`, so each one stays a single string literal - Skip the insertion entirely when nothing was selected
authored by Junegunn Choi · committed by GitHub · parent b224480 · Browse files · 3 files+53 added−4 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+53 added−4 removed
- tests:+37 added−0 removed
- other:+16 added−4 removed