summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-06-07 20:33:28 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2016-06-07 20:33:28 +1200
commit521caa5be2a5646d8dc4c13d3ec373a25d16a7ec (patch)
treeb94c8dc063351daf3b0a848f745569b658ad6fe4 /bashrc
parent2fdd2622eb0e5c8c78631f92bed1cf5a757b4cce (diff)
parent9588833f11d075f060b778a5e629d7210e51a59b (diff)
downloaddotfiles-521caa5be2a5646d8dc4c13d3ec373a25d16a7ec.tar.xz
Merge branch 'master' of hermes:/srv/git/david/dotfiles
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/bashrc b/bashrc
index 6ccbe3a..61efd63 100644
--- a/bashrc
+++ b/bashrc
@@ -28,8 +28,10 @@ PS1="${BYellow}\
export GPG_TTY=$(tty)
export EDITOR=/usr/bin/vim
-export CC=clang
-export CXX=clang
+if [ $(which clang 2>/dev/null) ]; then
+ export CC=clang
+ export CXX=clang
+fi
alias sudo="sudo "
alias monut=mount