Example snippets should work when copy pasted into zsh #4100
Labels
content
Improvements or additions to content
improvement
Use this when an area of the docs needs improvement as it's currently unclear
Contributions
Link to the page on docs.getdbt.com requiring updates
Web page:
https://docs.getdbt.com/reference/node-selection/test-selection-examples?indirect-selection-mode=buildable#syntax-examples
GitHub link:
https://github.com/dbt-labs/docs.getdbt.com/blob/current/website/docs/reference/node-selection/test-selection-examples.md#L273
What part(s) of the page would you like to see updated?
When copy pasting a command with an asterix, like dbt test --exclude source:*, the behavior of zshell would be to expand the asterix.
If the snippet would have included quotes around the source:* part,
dbt test --exclude 'source:*'
this would have worked right away when people reading the docs page copy paste it.That's clearly not the only place in the docs with the same issue, I'd be happy to search for more if this is approved
I think it's different than issue #4040
Additional information
Raised in slack at least once here
https://getdbt.slack.com/archives/C2JRRQDTL/p1695064369322449?thread_ts=1695064369.322449&cid=C2JRRQDTL
The text was updated successfully, but these errors were encountered: