fix spack env loads example (#14558)

This commit is contained in:
Owen Solberg 2020-01-27 18:49:53 -10:00 committed by Todd Gamblin
parent 6ab2c3caa3
commit f58004e436

View File

@ -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