Closed manabuishii closed 7 years ago
@manabuishii ah interesting, hadn't heard of that plugin.
[hxr@leda:~/]$ echo $SHELL
/usr/bin/zsh
[hxr@leda:~/]$ parsec histories get_histories | jq .[0]
{
"annotation": null,
"url": "/galaxy/api/histories/e41da9a5d5127051",
"purged": false,
"model_class": "History",
"published": false,
"name": "Basespace auth test",
"deleted": false,
"id": "e41da9a5d5127051",
"tags": []
}
Could I ask you to quote the entire jq
string rather than just the portion after the .
? I think this will look a bit cleaner/more obvious for people who don't use the terminal so much. I.e. '.[0]'
rather than .'[0]'
Thanks @manabuishii
More information.
Zsh environment needs single quote.
if no quote, my zsh ( using oh-my-zsh )
but not in zsh environment. works no single quote.
It's jq and users shell problem .