-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move initialisation of version managers to zprofile
I noticed a considerable delay in skhd, similar to what was reported by someone else. The sourcing in zshenv is making the shell slow, so we need to offload it to zprofile. This file is only sourced for login shells. koekeishiya/skhd#42 https://unix.stackexchange.com/a/487889
- Loading branch information
Showing
5 changed files
with
18 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
~/.vim: | ||
~/.vimrc: | ||
~/.weechat: | ||
~/.zprofile: | ||
~/.zsh: | ||
~/.zshenv: | ||
~/.zshrc: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Pyenv | ||
export CFLAGS=-I/usr/local/opt/openssl/include | ||
export LDFLAGS=-L/usr/local/opt/openssl/lib | ||
export PYENV_VIRTUALENV_DISABLE_PROMPT=1 | ||
source $HOME/.zsh/zsh-pyenv-lazy/pyenv-lazy.plugin.zsh | ||
|
||
# Rbenv | ||
source $HOME/.zsh/zsh-rbenv-lazy/rbenv-lazy.plugin.zsh | ||
|
||
# Nvm | ||
export NVM_LAZY_LOAD=true | ||
source $HOME/.zsh/zsh-nvm/zsh-nvm.plugin.zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters