chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6054bdb
)
dot/shell-rc: Throw `~/bin/' into the PATH if it's not there.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 20 Sep 2017 15:26:13 +0000
(16:26 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/dot/shell-rc
b/dot/shell-rc
index e990339d09c9217e760216e63eb99c8da4fc45e8..8742ea8417157ccef239f00205063de8b0f6359a 100644
(file)
--- 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