micha / resty

Little command line REST client that you can use in pipelines (bash or zsh).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Current resty fails completely in zsh

snej opened this issue · comments

I just downloaded resty and it doesn't work at all for me with zsh:

$ . resty
$ resty 'http://localhost:4984'
http://localhost:4984*
$ GET /
curl: (3) <url> malformed

I've got zsh 4.3.11 on Mac OS X 10.8.2.

Unfortunately my shell-scripting fu is very low, so I don't know how to go about debugging this. No doubt it's some arcane difference in quoting between bash and zsh...

I forked resty to solve this bug; also added a plugin infrastructure: https://github.com/frioux/app-adenosine-prefab

Hey @frioux, that looks really awesome! Excellent work! Let me know if I can help with your project. I've been crazy busy lately and don't use zsh very often.

hey @micha since the version from @frioux is a complete rewrite and/or includes a rename, do you actually think about fixing the zsh-issue in resty?

I didn't have any problem trying it on zsh 5.0.2, but have no idea if it comes from change in zsh, or changes that occur on resty

closing to do lack of activity