zsh-workers
 help / color / mirror / code / Atom feed
From: Zenorbi <zenorbi@gmail.com>
To: zsh-workers@zsh.org
Subject: Mac file drop on terminal stopped escaping file paths
Date: Thu, 8 Oct 2015 23:43:31 +0200	[thread overview]
Message-ID: <36E52FCA-9203-44DC-80B2-2E5E12ACDF78@gmail.com> (raw)

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

             reply	other threads:[~2015-10-08 21:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-08 21:43 Zenorbi [this message]
2015-10-09  1:32 ` Eric Cook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36E52FCA-9203-44DC-80B2-2E5E12ACDF78@gmail.com \
    --to=zenorbi@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).