devconf/.zcustom/env.zsh

14 lines
196 B
Bash
Raw Normal View History

2021-09-07 11:17:16 +00:00
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