diff options
-rw-r--r-- | zsh/.zshrc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -207,14 +207,18 @@ export RUBYOPT=-Ku export GEM_HOME=$HOME/.local/lib/ruby/ export GEM_PATH=$HOME/.local/lib/ruby/:$GEM_PATH -export PYTHONPATH=$PYTHONPATH:~/.local/lib/python/site-packages:~/.local/lib/python3/site-packages +if [ ! -z $PYTHONPATH ]; then + export PYTHONPATH=~/.local/lib/python/site-packages:~/.local/lib/python3/site-packages:$PYTHONPATH +else + export PYTHONPATH=~/.local/lib/python/site-packages:~/.local/lib/python3/site-packages +fi export PATH=~/.local/lib/python/site-packages:$PATH export PATH=~/.local/lib/node/bin:$PATH export TEXMFHOME='~/.texmf' -export CFLAGS="-march=native -mtune=native" +export CFLAGS="-O2 -march=native -mtune=native -pipe" export CXXFLAGS="$CFLAGS" export CCACHE_PATH=/usr/bin |