summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-11-08 14:02:33 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-11-08 14:15:52 -0500
commitfc4ed81f7d2991eaebabcf0cc90003d0fd793c31 (patch)
tree3dbd7f60db0b8bf3dd8813227e001fb418d608b6
parenta945e25fffd7ae2499e1744e0309ecd4b19135a1 (diff)
login: enable ccache by default
-rw-r--r--.config/login.d/10_ccache.sh4
-rw-r--r--.git.info.exclude.in3
2 files changed, 6 insertions, 1 deletions
diff --git a/.config/login.d/10_ccache.sh b/.config/login.d/10_ccache.sh
new file mode 100644
index 0000000..b9721c0
--- /dev/null
+++ b/.config/login.d/10_ccache.sh
@@ -0,0 +1,4 @@
+#!/hint/sh
+if test -d /usr/lib/ccache/bin; then
+ PATH="/usr/lib/ccache/bin:$PATH"
+fi
diff --git a/.git.info.exclude.in b/.git.info.exclude.in
index 2d09032..a5facd1 100644
--- a/.git.info.exclude.in
+++ b/.git.info.exclude.in
@@ -39,7 +39,8 @@ lock
*.bak
*authority
-*cache*
+*.cache*
+*_cache*
# Ignore files left by editors
*~