export EDITOR="vim" export MAKEOPTS="-j$(cat /proc/cpuinfo | awk -F: '$1 ~ /cpu cores/ { print $2 }' | head -n 1 | tr -d ' ')" if [ -n "$(command -v clang)" ]; then export CC=clang else export CC=gcc fi if [ -n "$(command -v clang++)" ]; then export CXX=clang++ else export CXX=g++ fi