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 1 commit
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
11 changes: 10 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,15 @@ mill show foo[2.12].suffix
mill show foo[2.12].bigSuffix
----

If you were a `zsh` user, the command should be a little complex.

[source,zsh]
----
mill show foo\[2.10\].suffix
mill show 'foo[2.10].suffix'
mill show "foo[2.10].suffix"
----

lefou marked this conversation as resolved.
Show resolved Hide resolved
The modules each also have a `millSourcePath` of

[source,text]
Expand Down Expand Up @@ -171,4 +180,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.