diff options
author | Owen Solberg <odoublewen@users.noreply.github.com> | 2020-01-27 18:49:53 -1000 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2020-01-27 20:49:53 -0800 |
commit | f58004e4369a97d514bc143284f423aeaead3964 (patch) | |
tree | 734850dd94a8090ec83d4eaf8e423868b5ecb10e /lib | |
parent | 6ab2c3caa3437a47ddb3d2c96322fa091663cc25 (diff) | |
download | spack-f58004e4369a97d514bc143284f423aeaead3964.tar.gz spack-f58004e4369a97d514bc143284f423aeaead3964.tar.bz2 spack-f58004e4369a97d514bc143284f423aeaead3964.tar.xz spack-f58004e4369a97d514bc143284f423aeaead3964.zip |
fix spack env loads example (#14558)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/docs/environments.rst | 5 |
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 |