Commit 53c8f616 authored by Daniel Martí's avatar Daniel Martí

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/105557Reviewed-by: 's avatarAgniva De Sarker <agniva.quicksilver@gmail.com>
Reviewed-by: 's avatarBryan C. Mills <bcmills@google.com>
parent 568d4848
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment