devconf/.zcustom/env.zsh
2021-09-07 13:17:16 +02:00

13 lines
196 B
Bash

export EDITOR="vim"
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