add nvm lazy loading to zsh
This commit is contained in:
4
main.sh
4
main.sh
@@ -44,6 +44,10 @@ sudo apt-get install -y zsh
|
|||||||
sudo chsh $INSTALL_USER -s /bin/zsh
|
sudo chsh $INSTALL_USER -s /bin/zsh
|
||||||
cp ./utils/dotzshrc "$HOME/.zshrc"
|
cp ./utils/dotzshrc "$HOME/.zshrc"
|
||||||
|
|
||||||
|
# zsh nvm lazy loading (so shell doesn't take a million years to start)
|
||||||
|
git clone https://github.com/lukechilds/zsh-nvm.git "$HOME/.nvm-zsh"
|
||||||
|
# other install stuff already in .zshrc
|
||||||
|
|
||||||
# starship (shell prompt)
|
# starship (shell prompt)
|
||||||
curl -sS https://starship.rs/install.sh | sudo sh -s -- -y
|
curl -sS https://starship.rs/install.sh | sudo sh -s -- -y
|
||||||
# echo 'eval "$(starship init zsh)"' | tee "$HOME/.zshrc" -a # should already be in zshrc
|
# echo 'eval "$(starship init zsh)"' | tee "$HOME/.zshrc" -a # should already be in zshrc
|
||||||
|
|||||||
@@ -22,5 +22,8 @@ alias rmd="rndrmarkdown"
|
|||||||
# colored GCC warnings and errors
|
# colored GCC warnings and errors
|
||||||
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||||
|
|
||||||
|
export NVM_LAZY_LOAD=true
|
||||||
|
source "$HOME/.nvm-zsh/zsh-nvm.plugin.zsh"
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user