[zshrc] Fix loading performance issues

This commit is contained in:
lhark 2018-07-19 14:55:05 -04:00
parent 2d63595ce9
commit ec54d059b8

8
zshrc
View file

@ -8,6 +8,9 @@
# adapté et amélioré par lhark
# Uncomment this line for perfomance analysis
#zmodload zsh/zprof
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:~/bin:/opt/cuda/bin:~/.cargo/bin
export EDITOR=/usr/bin/vim
# Prevent mime associations by wine
@ -20,8 +23,7 @@ export PATH="$PATH:$ANDROID_HOME/tools/bin:$ANDROID_HOME/tools:$ANDROID_HOME/pla
# Configuration for virtualenv
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh > /dev/null 2>&1
source /usr/bin/virtualenvwrapper.sh > /dev/null 2>&1
source /usr/bin/virtualenvwrapper_lazy.sh > /dev/null 2>&1
# disables prompt mangling in virtual_env/bin/activate
export VIRTUAL_ENV_DISABLE_PROMPT=1
@ -147,8 +149,6 @@ autoload -U compinit promptinit
compinit
colors
autoload -U zsh-mime-setup
autoload -U zsh-mime-handler
zsh-mime-setup
################