fix spack env loads example (#14558)
This commit is contained in:
parent
6ab2c3caa3
commit
f58004e436
@ -382,11 +382,12 @@ the Environment.
|
|||||||
Loading
|
Loading
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
|
|
||||||
Once an environment has been installed, the following creates a load script for it:
|
Once an environment has been installed, the following creates a load
|
||||||
|
script for it:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ spack env myenv loads -r
|
$ spack env loads -r
|
||||||
|
|
||||||
This creates a file called ``loads`` in the environment directory.
|
This creates a file called ``loads`` in the environment directory.
|
||||||
Sourcing that file in Bash will make the environment available to the
|
Sourcing that file in Bash will make the environment available to the
|
||||||
|
Loading…
Reference in New Issue
Block a user