dotfiles/zsh/exports.zsh

40 lines
754 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
2023-03-06 09:40:52 +01: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
2024-05-28 14:30:34 +02:00
# for python
if [ -d $HOME/.venv ]; then
export PATH=$HOME/.venv/bin:$PATH
export VIRTUAL_ENV=$HOME/.venv
fi
2024-08-23 09:14:20 +02:00
# Use port 8000 by default for flask, cause why would we use anything different?
export FLASK_RUN_PORT=8000
2020-03-04 09:54:16 +01:00
export TERM=xterm-256color
2021-10-18 15:04:03 +02:00
export REPORTTIME=5