From affa6979c6f45618d3c2eb6ff691158fde09accc Mon Sep 17 00:00:00 2001 From: David Phillips Date: Thu, 20 Apr 2017 16:10:14 +1200 Subject: Add missing files --- environment | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 environment (limited to 'environment') diff --git a/environment b/environment new file mode 100644 index 0000000..1ae64ba --- /dev/null +++ b/environment @@ -0,0 +1,12 @@ +export GPG_TTY=$(tty) +export EDITOR=/usr/bin/vim + +if $(which clang 2>/dev/null); then + export CC=clang + export CXX=clang +elif [[ $(which tcc 2>/dev/null) && !$(which gcc 2>/dev/null) ]]; then + export CC=tcc +fi + +# u=rwx,g=,o= +umask 077 -- cgit v1.1