Skip to content

Commit 9ba44ca

Browse files
authored
Update HOW_IT_WORKS.md (#359)
1 parent 523fd84 commit 9ba44ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

HOW_IT_WORKS.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ then `/bin`.
2222

2323
## Understanding Shims
2424

25-
goenv works by inserting a directory of _shims_ at the front of your
26-
`PATH`:
25+
goenv works by inserting a directory of _shims_ at the end of your
26+
`PATH`, so if you have `go` in `/usr/bin` it will be found first:
2727

28-
~/.goenv/shims:/usr/local/bin:/usr/bin:/bin
28+
/usr/local/bin:/usr/bin:/bin:~/.goenv/shims
2929

3030
Through a process called _rehashing_, goenv maintains shims in that
3131
directory to match every `go` command across every installed version

0 commit comments

Comments
 (0)