summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index e6f0c43..ba081c7 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -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