dotfiles/zsh/exports.zsh

30 lines
507 B
Bash
Raw Normal View History

2016-08-22 12:04:24 +02:00
# My editor
2018-09-28 12:58:09 +02:00
command -v nvim > /dev/null 2>&1
if [ $? -eq 0 ]; then
export EDITOR="nvim"
else
export EDITOR="vim"
fi
2016-08-22 12:04:24 +02:00
2017-10-20 10:24:40 +02:00
# Parallel conpilation with make
2016-08-31 10:02:52 +02:00
export MAKEFLAGS="+j`nproc`"
2016-08-22 12:04:24 +02:00
2016-12-03 10:48:49 +01:00
# I want clang as default compiler if it exists
command -v clang > /dev/null 2>&1
if [ $? -eq 0 ]; then
export CC="clang"
fi
command -v clang++ > /dev/null 2>&1
if [ $? -eq 0 ]; then
export CXX="clang++"
fi
# Wine Debug
2016-08-22 12:04:24 +02:00
export WINEDEBUG=-all
2016-12-03 11:43:49 +01:00
2017-06-08 14:14:05 +02:00
# for rust
2019-09-12 15:38:33 +02:00
export RUST_BACKTRACE=full
2016-12-03 11:43:49 +01:00
2020-03-04 09:54:16 +01:00
export TERM=xterm-256color