From: Mark Wooding Date: Wed, 20 Sep 2017 15:26:13 +0000 (+0100) Subject: dot/shell-rc: Throw `~/bin/' into the PATH if it's not there. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/4cb8b8dada50dea956900ab8a91829449b2fe6f9 dot/shell-rc: Throw `~/bin/' into the PATH if it's not there. May make it easier to find tmpdir(1). --- 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