From 4cb8b8dada50dea956900ab8a91829449b2fe6f9 Mon Sep 17 00:00:00 2001 Message-Id: <4cb8b8dada50dea956900ab8a91829449b2fe6f9.1714625619.git.mdw@distorted.org.uk> From: Mark Wooding Date: Wed, 20 Sep 2017 16:26:13 +0100 Subject: [PATCH] dot/shell-rc: Throw `~/bin/' into the PATH if it's not there. Organization: Straylight/Edgeware From: Mark Wooding May make it easier to find tmpdir(1). --- dot/shell-rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot/shell-rc b/dot/shell-rc index e990339..8742ea8 100644 --- a/dot/shell-rc +++ b/dot/shell-rc @@ -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 -- [mdw]