Skip to content

Commit d96d1d5

Browse files
committed
23 Cosmetic changes in 'Environment Variables' section
1 parent c68fe2f commit d96d1d5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

23_CommandLine/main.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,10 +400,10 @@ chmod u+x ~/bin/prog
400400
# See if prog is found
401401
which prog
402402

403-
# Prepending ~/bin/prog to the PATH
403+
# Prepending ~/bin to the PATH
404404
export PATH=~/bin:$PATH
405405

406-
# Check that now we can find it
406+
# Check that now we can find prog
407407
which prog
408408
```
409409

@@ -418,7 +418,7 @@ which prog
418418
...
419419

420420
# Make sure programs in ~/bin are found
421-
export PATH=$HOME/bin:$PATH
421+
export PATH=~/bin:$PATH
422422

423423
# Set my Editor
424424
export VISUAL=nano
@@ -430,7 +430,7 @@ export VISUAL=nano
430430

431431
```sh
432432
# -- myenv.sh
433-
export PATH=$HOME/mysoftware/bin:$PATH
433+
export PATH=~/bin:$PATH
434434
export VISUAL=nano
435435
...
436436
```
@@ -455,6 +455,7 @@ FI Cluster: Use the `module` command to find and load software
455455

456456
```sh
457457
$ module load git/2.35.1
458+
458459
$ which git
459460
/mnt/sw/nix/store/wix1v2lrfbwrh4mar9ry07zzvsix82i5-git-2.35.1/bin/git
460461

0 commit comments

Comments
 (0)