There should be a way to have dragged files' names escaped with quotes to support using shells like xonsh which do not support backslash escaping.
Possible implementations:
Have an option to escape paths using single quotes (iTerm2.app has this as an experimental option)
Have an option to not escape paths at all (what Terminal.app does when you drag a file while holding the Shift key)
Have a hotkey to do either of the above
Is your feature request related to a problem? Please describe.
When dragging a file into the terminal, any spaces in the path name are escaped with backslashes. While this works for POSIX-compliant shells, it is not supported in xonsh and makes using this with xonsh non-viable.
Discord username (optional)
No response
Describe the solution you'd like?
There should be a way to have dragged files' names escaped with quotes to support using shells like xonsh which do not support backslash escaping.
Possible implementations:
Is your feature request related to a problem? Please describe.
When dragging a file into the terminal, any spaces in the path name are escaped with backslashes. While this works for POSIX-compliant shells, it is not supported in xonsh and makes using this with xonsh non-viable.
Additional context
I submitted a patch to iTerm for this a couple years ago: https://github.com/gnachman/iTerm2/pull/400
Warp Internal (ignore) - linear-label:efcea52d-0ab4-4a92-a41b-93c3e244f0a0
No response