dotfiles/zsh/exports.zsh

40 lines
754 B
Bash
Raw Normal View History

2016-08-22 11:04:24 +01:00
# My editor
2018-09-28 11:58:09 +01:00
command -v nvim > /dev/null 2>&1
if [ $? -eq 0 ]; then
export EDITOR="nvim"
else
export EDITOR="vim"
fi
2016-08-22 11:04:24 +01:00
2017-10-20 09:24:40 +01:00
# Parallel conpilation with make
2023-03-06 08:40:52 +00:00
export MAKEFLAGS="-j`nproc`"
2016-08-22 11:04:24 +01:00
2016-12-03 09:48:49 +00: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 11:04:24 +01:00
export WINEDEBUG=-all
2016-12-03 10:43:49 +00:00
2017-06-08 13:14:05 +01:00
# for rust
2019-09-12 14:38:33 +01:00
export RUST_BACKTRACE=full
2016-12-03 10:43:49 +00:00
2024-05-28 13:30:34 +01:00
# for python
if [ -d $HOME/.venv ]; then
export PATH=$HOME/.venv/bin:$PATH
export VIRTUAL_ENV=$HOME/.venv
fi
2024-08-23 08:14:20 +01:00
# Use port 8000 by default for flask, cause why would we use anything different?
export FLASK_RUN_PORT=8000
2020-03-04 08:54:16 +00:00
export TERM=xterm-256color
2021-10-18 14:04:03 +01:00
export REPORTTIME=5