Skip to content

Instantly share code, notes, and snippets.

@gainskills
Last active March 5, 2020 22:13
Show Gist options
  • Save gainskills/52da30c9261601dd4c368e938892d8e3 to your computer and use it in GitHub Desktop.
Save gainskills/52da30c9261601dd4c368e938892d8e3 to your computer and use it in GitHub Desktop.
Notes about Shell
ZSh is default shell on MAC OS now.
Refert to https://github.com/ohmyzsh/ohmyzsh/issues/31
Execute "unsetopt nomatch" before run curl command, otherwise, it might prompots the error: \
"zsh: no matches found:"
when sending a request with argument like: "curl http://127.0.0.1:8080/test?message=test"
Reason: zsh interprets the ? as a wildcard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment