From 53c8f6161ce2273f87f4ddfcbf4ded545a415fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 8 Apr 2018 17:52:16 +0100 Subject: [PATCH] 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 Reviewed-by: Bryan C. Mills --- doc/install.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/install.html b/doc/install.html index f17dce5bdd4c82..79ae9664c89af6 100644 --- a/doc/install.html +++ b/doc/install.html @@ -106,6 +106,12 @@

Linux, Mac OS X, and FreeBSD tarballs

export PATH=$PATH:/usr/local/go/bin +

+Note: changes made to a profile 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 source $HOME/.profile. +

+

Installing to a custom location