summaryrefslogtreecommitdiff
path: root/lib/spack/docs/environments.rst
diff options
context:
space:
mode:
authorOwen Solberg <odoublewen@users.noreply.github.com>2020-01-27 18:49:53 -1000
committerTodd Gamblin <tgamblin@llnl.gov>2020-01-27 20:49:53 -0800
commitf58004e4369a97d514bc143284f423aeaead3964 (patch)
tree734850dd94a8090ec83d4eaf8e423868b5ecb10e /lib/spack/docs/environments.rst
parent6ab2c3caa3437a47ddb3d2c96322fa091663cc25 (diff)
downloadspack-f58004e4369a97d514bc143284f423aeaead3964.tar.gz
spack-f58004e4369a97d514bc143284f423aeaead3964.tar.bz2
spack-f58004e4369a97d514bc143284f423aeaead3964.tar.xz
spack-f58004e4369a97d514bc143284f423aeaead3964.zip
fix spack env loads example (#14558)
Diffstat (limited to 'lib/spack/docs/environments.rst')
-rw-r--r--lib/spack/docs/environments.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/spack/docs/environments.rst b/lib/spack/docs/environments.rst
index 5c1089351b..336d574bd7 100644
--- a/lib/spack/docs/environments.rst
+++ b/lib/spack/docs/environments.rst
@@ -382,11 +382,12 @@ the Environment.
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
- $ spack env myenv loads -r
+ $ spack env loads -r
This creates a file called ``loads`` in the environment directory.
Sourcing that file in Bash will make the environment available to the