chiark / gitweb /
dot/profile: Install some path hacks by default at login time.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 8 Aug 2017 22:59:35 +0000 (23:59 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 8 Aug 2017 22:59:35 +0000 (23:59 +0100)
This way they'll also be picked up by Emacs.  Which is nice.

dot/profile

index 818ae8af3f9404c24754f48c2a599bcb7d9d8bef..c1159de42fa8e26f01f160c4f22698ae8d55c709 100644 (file)
@@ -88,6 +88,11 @@ if [ -d /usr/local/plan9 ]; then
   __mdw_addto PATH r $PLAN9/bin
 fi
 
+## Check for some standard path hacks.
+for i in ccache; do
+  __mdw_addto PATH l "$HOME"/bin/hacks/$i
+done
+
 ###--------------------------------------------------------------------------
 ### Some other preliminaries.