You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/software/uenv/index.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -613,7 +613,7 @@ module load ncview
613
613
```
614
614
615
615
This will make custom modules available, and load `ncview`, every time you log in.
616
-
It is not posible to do the equivalent with `uenv start`, for example:
616
+
It is not possible to do the equivalent with `uenv start`, for example:
617
617
```bash title="~/.bashrc"
618
618
# start the uenv that I always use
619
619
uenv start prgenv-gnu/24.11:v2 --view=default
@@ -631,16 +631,16 @@ module load ncview
631
631
632
632
Things are further complicated because if `uenv start` is executed inside `~/.bashrc`, the shell is not a tty shell.
633
633
634
-
It is possible to create a custom command that will start a new shell with a uenv loaded, with additional customisations to the environment (e.g. loading modules and setting environment variables).
634
+
It is possible to create a custom command that will start a new shell with a uenv loaded, with additional customizations to the environment (e.g. loading modules and setting environment variables).
635
635
636
-
The first step is to create a script that performs the the customisation steps to perform once the uenv has been loaded.
636
+
The first step is to create a script that performs the the customization steps to perform once the uenv has been loaded.
637
637
Here is an example for an environment called `myenv`:
638
638
639
639
```bash title="~/.myenvrc"
640
640
# always add this line
641
641
source~/.bashrc
642
642
643
-
# then add customisation commands here
643
+
# then add customization commands here
644
644
module use $STORE/myenv/modules
645
645
module load ncview
646
646
export DATAPATH=$STORE/2025/data
@@ -652,7 +652,7 @@ Then create an alias in `~/.bashrc` for the `myenv` environment:
652
652
alias myenv='uenv run prgenv-gnu/24.11:v2 --view=default -- bash --rcfile ~/.myenvrc'
653
653
```
654
654
655
-
This alias uses `uenv run` to start a new bash shell that will apply the customisations in `~/.myenvrc` once the uenv has been loaded.
655
+
This alias uses `uenv run` to start a new bash shell that will apply the customizations in `~/.myenvrc` once the uenv has been loaded.
656
656
Then, the environment can be started with a single command once logged in.
0 commit comments