Skip to content

Commit

Permalink
Update HOW_IT_WORKS.md (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
festeh authored Jan 7, 2024
1 parent 523fd84 commit 9ba44ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HOW_IT_WORKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ then `/bin`.

## Understanding Shims

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

~/.goenv/shims:/usr/local/bin:/usr/bin:/bin
/usr/local/bin:/usr/bin:/bin:~/.goenv/shims

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

0 comments on commit 9ba44ca

Please sign in to comment.