micha / resty

Little command line REST client that you can use in pipelines (bash or zsh).
MIT License
2.65k stars 143 forks source link

Indent parentheses properly for zsh (fix #61) #63

Closed cyberhuman closed 9 years ago

cyberhuman commented 9 years ago

Hi! I noticed the script does not work with zsh, so I took a look and found out that it uses consecutive opening parentheses, and zsh does not like that (and I agree, as it's not easy to parse $(( foobar )) vs $(( foo ) | bar ) without backtracking).

AdrieanKhisbe commented 9 years ago

Seems good to me!