File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -400,10 +400,10 @@ chmod u+x ~/bin/prog
400
400
# See if prog is found
401
401
which prog
402
402
403
- # Prepending ~/bin/prog to the PATH
403
+ # Prepending ~/bin to the PATH
404
404
export PATH=~ /bin:$PATH
405
405
406
- # Check that now we can find it
406
+ # Check that now we can find prog
407
407
which prog
408
408
```
409
409
@@ -418,7 +418,7 @@ which prog
418
418
...
419
419
420
420
# Make sure programs in ~/bin are found
421
- export PATH=$HOME /bin:$PATH
421
+ export PATH=~ /bin:$PATH
422
422
423
423
# Set my Editor
424
424
export VISUAL=nano
@@ -430,7 +430,7 @@ export VISUAL=nano
430
430
431
431
``` sh
432
432
# -- myenv.sh
433
- export PATH=$HOME /mysoftware /bin:$PATH
433
+ export PATH=~ /bin:$PATH
434
434
export VISUAL=nano
435
435
...
436
436
```
@@ -455,6 +455,7 @@ FI Cluster: Use the `module` command to find and load software
455
455
456
456
``` sh
457
457
$ module load git/2.35.1
458
+
458
459
$ which git
459
460
/mnt/sw/nix/store/wix1v2lrfbwrh4mar9ry07zzvsix82i5-git-2.35.1/bin/git
460
461
You can’t perform that action at this time.
0 commit comments