Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: Add a special case for zsh #1571

Merged
merged 2 commits into from
Nov 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion docs/antora/modules/ROOT/pages/Cross_Builds.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ mill show foo[2.12].suffix
mill show foo[2.12].bigSuffix
----

[NOTE]
--
Please be aware that some shells like `zsh` interpret square brackets differently, so quoting or masking might be needed.

[source,zsh]
----
mill show foo\[2.10\].suffix
mill show 'foo[2.10].suffix'
mill show "foo[2.10].suffix"
----
--
The modules each also have a `millSourcePath` of

[source,text]
Expand Down Expand Up @@ -171,4 +182,4 @@ While the example `resolver` simply looks up the target `Cross` value for the
cross-module instance with the same `crossVersion`, you can make the resolver
arbitrarily complex. E.g. the `resolver` for `mill.scalalib.CrossSbtModule`
looks for a cross-module instance whose `scalaVersion` is binary compatible
(e.g. 2.10.5 is compatible with 2.10.3) with the current cross-module.
(e.g. 2.10.5 is compatible with 2.10.3) with the current cross-module.