summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/.zshrc b/etc/.zshrc
index 50d3de8..de4434d 100644
--- a/etc/.zshrc
+++ b/etc/.zshrc
@@ -76,6 +76,10 @@ if (( EUID != 0)) {
export MAKEFLAGS=j$(grep -c '^processor' /proc/cpuinfo)
+if [[ -n ${commands[clang]} ]] {
+ export CC=clang
+}
+
typeset -U path
path=(~/bin ${path})