# zsh completion does not support branches with quotes/apostrophes

1 messages from 2018-09-10 to 2018-09-10. Participants: Vasily Korytov.
Thread: https://gitlist.dev/t/49311

## Vasily Korytov, 2018-09-10 15:02

Subject: zsh completion does not support branches with quotes/apostrophes
Message-ID: <E2F53114-B4F9-4787-8017-60C976C8E03C@icloud.com>
URL: https://gitlist.dev/e/E2F53114-B4F9-4787-8017-60C976C8E03C%40icloud.com

```
Hi,

I have the latest git and it includes a nice auto-completion for zsh: contrib/completion/git-completion.zsh

I’ve been using it happily for.. years I guess, until I ran into a problem yesterday.
I have a branch with apostrophe, named like: somebody's_business

When I want to switch to that branch, I type: git checkout some[tab] and the result is:
`git checkout somebody's_business` (and that does not work in zsh, of course).
For this to work it should escape the apostrophe and the completion should result it:
git checkout somebody\'s_business

When I try to use the quotes in the parameters, this does not work at all:
i.e. when I type `git checkout -b “some[tab]` nothing is completed.

So the only work-around for now seems to be manually fixing the completion results, escaping the quote.
However, it would be very nice if this could be fixed.

Thanks.

-- 
  Vasily Korytov
  https://chillum.github.io


```
