1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 23:08:01 +00:00

[zsh] Improve boot up speed

This commit is contained in:
Daniel Carrillo 2022-11-14 18:58:14 +01:00
parent 90998e270e
commit fd3bcf90db
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16

6
.zshrc
View File

@ -1,3 +1,5 @@
#zmodload zsh/zprof
# Enable Powerlevel10k instant prompt.uld stay close to the top of ~/.zshrc. # Enable Powerlevel10k instant prompt.uld stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n] # Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below. # 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_PYTHON=/usr/bin/python
export VIRTUALENVWRAPPER_VIRTUALENV=/usr/bin/virtualenv export VIRTUALENVWRAPPER_VIRTUALENV=/usr/bin/virtualenv
export WORKON_HOME=~/.virtualenvs export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh source /usr/bin/virtualenvwrapper_lazy.sh
alias workondir='workon $(basename $(pwd))' alias workondir='workon $(basename $(pwd))'
##### fzf ##### ##### fzf #####
@ -136,3 +138,5 @@ source ~/.zshrc_custom
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
#zprof