diff --git a/doc/src/sgml/environ.sgml b/doc/src/sgml/environ.sgml
index 862ccbdbdaa..13bdd3f8181 100644
--- a/doc/src/sgml/environ.sgml
+++ b/doc/src/sgml/environ.sgml
@@ -32,8 +32,8 @@ set path = ( /usr/local/pgsql/bin path )
a variant of the Bourne shell, such as sh, ksh, or
bash, then you would add
-PATH=/usr/local/pgsql/bin PATH
-export PATH
+$ PATH=/usr/local/pgsql/bin:$PATH
+$ export PATH
to the .profile file in your home directory.
From now on, we will assume that you have added the
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 774c19cae75..af6b300455e 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -62,7 +62,7 @@ set path = ( /usr/local/pgsql/bin path )
a variant of the Bourne shell, such as sh, ksh, or
bash, then you would add
-PATH=/usr/local/pgsql/bin PATH
+PATH=/usr/local/pgsql/bin:$PATH
export PATH
to the .profile file in your home directory.
diff --git a/doc/src/sgml/start.sgml b/doc/src/sgml/start.sgml
index 12390f04dbb..592b35f89fc 100644
--- a/doc/src/sgml/start.sgml
+++ b/doc/src/sgml/start.sgml
@@ -67,7 +67,7 @@ of a client application is the interactive monitor psql
-% PATH=/usr/local/pgsql/bin PATH
+% PATH=/usr/local/pgsql/bin:$PATH
% export PATH
to the .profile file in your home directory.