From fd3bcf90dbe8ed5cacd1a01c919003e54cd16a3c Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Mon, 14 Nov 2022 18:58:14 +0100 Subject: [PATCH] [zsh] Improve boot up speed --- .zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index e82ebb4..6bb050b 100644 --- a/.zshrc +++ b/.zshrc @@ -1,3 +1,5 @@ +#zmodload zsh/zprof + # Enable Powerlevel10k instant prompt.uld stay close to the top of ~/.zshrc. # Initialization code that may require console input (password prompts, [y/n] # confirmations, etc.) must go above this block; everything else may go below. @@ -92,7 +94,7 @@ export BROWSER='/usr/bin/vivaldi-stable' export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python export VIRTUALENVWRAPPER_VIRTUALENV=/usr/bin/virtualenv export WORKON_HOME=~/.virtualenvs -source /usr/bin/virtualenvwrapper.sh +source /usr/bin/virtualenvwrapper_lazy.sh alias workondir='workon $(basename $(pwd))' ##### fzf ##### @@ -136,3 +138,5 @@ source ~/.zshrc_custom # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + +#zprof