While here, I wonder if this part of load_path_expand in initdefs.jl of Julialang/julia should be separated out as an internal function which Pkg can then use in parse_activateand activate(for shared = <> dispatch).
This would keep the behavior in sync.
Similar to Julia's command line argument
--project
,activate @temp
activates temp environment (See https://github.com/JuliaLang/julia/pull/51149)activate @stdlib
activatesSys.STDLIB
activate @.
activates current projectactivate @
activates active projectThis also changes how Pkg.activate behaves wrt
temp
(disallows) andstdlib
(activates@stdlib/Project.toml
)Related to these, the PR adds tests and updates docs.