mirror of
https://github.com/golang/go
synced 2024-11-23 00:00:07 -07:00
doc: add a note about loading profile files
If one is somewhat new to the command line or shell, it might be surprising that changes applied to a file like $HOME/.profile will seemingly not take effect, even if new shells are started. Add a note about how shells usually only load these when the user logs into a machine, to minimize the amount of people stuck and confused by this. Fixes #24756. Change-Id: Ic68d8c97933f3f080b151a107633ecad76a163a4 Reviewed-on: https://go-review.googlesource.com/105557 Reviewed-by: Agniva De Sarker <agniva.quicksilver@gmail.com> Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
parent
568d4848f6
commit
53c8f6161c
@ -106,6 +106,12 @@ variable. You can do this by adding this line to your <code>/etc/profile</code>
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
<b>Note</b>: changes made to a <code>profile</code> file may not apply until the
|
||||
next time you log into your computer. Alternatively, you can apply them to the
|
||||
current shell with a command like <code>source $HOME/.profile</code>.
|
||||
</p>
|
||||
|
||||
<h4 id="tarball_non_standard">Installing to a custom location</h4>
|
||||
|
||||
<p>
|
||||
|
Loading…
Reference in New Issue
Block a user