diff options
Diffstat (limited to 'environment')
-rw-r--r-- | environment | 12 |
1 files changed, 12 insertions, 0 deletions
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 |