chiark / gitweb /
dot/shell-rc: Throw `~/bin/' into the PATH if it's not there.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 20 Sep 2017 15:26:13 +0000 (16:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 20 Sep 2017 15:52:20 +0000 (16:52 +0100)
May make it easier to find tmpdir(1).

dot/shell-rc

index e990339d09c9217e760216e63eb99c8da4fc45e8..8742ea8417157ccef239f00205063de8b0f6359a 100644 (file)
@@ -324,6 +324,9 @@ pathhack () {
 ###--------------------------------------------------------------------------
 ### Finishing touches.
 
+## Make sure `$HOME/bin' is on the path.
+path_add "$HOME/bin"
+
 ## Set the temporary directory again.  (A setuid or setgid program may have
 ## unhelpfully forgotten this for us.)
 case ${TMPDIR+t} in t) ;; *) eval $(tmpdir -b); esac