zsh-workers
 help / color / mirror / code / Atom feed
* Mac file drop on terminal stopped escaping file paths
@ 2015-10-08 21:43 Zenorbi
  2015-10-09  1:32 ` Eric Cook
  0 siblings, 1 reply; 2+ messages in thread
From: Zenorbi @ 2015-10-08 21:43 UTC (permalink / raw)
  To: zsh-workers

Hello!

I'm using zsh 5.1.1 and lately I've noticed that when I drop files or file paths containing spaces to the terminal, de shell does not insert necessary backslashes as it used to. I thought maybe this is an El Capitan issue, so I asked my friend also having El Capitan and zsh and it worked for him. His zsh version is 5.0. Searched through the entire terminal app settings, looking for differences between my machine and his, nothing.
Strangely, if I use bash either as my main shell, or just call it from zsh, the escaping works in that shell, so I have to assume there is some kind of action required to be handled by the shell that broke between 5.0 and 5.1.1.

Steps to reproduce:
Open Terminal with zsh 5.1.1 az the shell.
Drag a file/folder from the finder containing spaces to the terminal.

Expected results:
The terminal shows the filepath for the dropped item, inserting backslashes before each space.

Actual results:
The terminal shows the filepath for the dropped item as is, without any escaping.

Version where the issue is present: 5.1.1
Latest known version which doesn't have the issue: 5.0
OS: 10.11 (15A284)
App: Terminal (default from OS X)
Extra: using oh-my-zsh which is up-to-date.

Best regards,
Norbert Zentai

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Mac file drop on terminal stopped escaping file paths
  2015-10-08 21:43 Mac file drop on terminal stopped escaping file paths Zenorbi
@ 2015-10-09  1:32 ` Eric Cook
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Cook @ 2015-10-09  1:32 UTC (permalink / raw)
  To: zsh-workers

On 10/08/2015 05:43 PM, Zenorbi wrote:
> Hello!
> 
> I'm using zsh 5.1.1 and lately I've noticed that when I drop files or file paths containing spaces to the terminal, de shell does not insert necessary backslashes as it used to. I thought maybe this is an El Capitan issue, so I asked my friend also having El Capitan and zsh and it worked for him. His zsh version is 5.0. Searched through the entire terminal app settings, looking for differences between my machine and his, nothing.
> Strangely, if I use bash either as my main shell, or just call it from zsh, the escaping works in that shell, so I have to assume there is some kind of action required to be handled by the shell that broke between 5.0 and 5.1.1.

See: https://github.com/zsh-users/zsh/blob/master/README#L35-L45


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-09  1:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-08 21:43 Mac file drop on terminal stopped escaping file paths Zenorbi
2015-10-09  1:32 ` Eric Cook

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).