1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-09-15 23:15:30 -04:00

nvm 🐌 -> volta

https://volta.sh/
This commit is contained in:
2021-08-07 18:13:59 -04:00
parent ad0839a1da
commit 49b8860694
5 changed files with 32 additions and 19 deletions

View File

@@ -47,6 +47,9 @@ compinit -C
# Load everything!
source $ZSH/oh-my-zsh.sh
export ZPLUG_HOME=/opt/homebrew/opt/zplug
source $ZPLUG_HOME/init.zsh
# Fix slow paste problem w/ zsh-syntax-highlighting plugin
# https://github.com/zsh-users/zsh-syntax-highlighting/issues/295
zstyle ':bracketed-paste-magic' active-widgets '.self-*'

View File

@@ -45,9 +45,8 @@ update() {
brew cleanup
echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}"
npm install npm@latest --global
npm update --global
yarn global upgrade
volta run npm update --global
volta run yarn global upgrade
echo -e "${YELLOW}Updating Ruby gems...${NC}"
gem update --system
@@ -65,8 +64,8 @@ update() {
echo -e "${YELLOW}Updating Oh-My-ZSH...${NC}"
omz update
# echo -e "${YELLOW}Updating MAS apps...${NC}"
# mas upgrade
echo -e "${YELLOW}Updating MAS apps...${NC}"
mas upgrade
echo -e "${YELLOW}Check for macOS system updates...${NC}"
softwareupdate --list

View File

@@ -16,6 +16,7 @@ export PATH="$GOPATH/bin:$PATH"
#export PATH="$GOROOT/bin:$PATH"
# Ruby
export PATH="$HOME/.gem/ruby/3.0.0/bin:$PATH"
export RUBY_HOME="$HOMEBREW_PREFIX/opt/ruby/bin"
export GEM_PATH="$HOMEBREW_PREFIX/lib/ruby/gems/3.0.0/bin"
export PATH="$RUBY_HOME:$PATH"
@@ -50,8 +51,6 @@ export PATH="$HOME/.config/yarn/global/node_modules/.bin:$PATH"
export PATH="$HOMEBREW_PREFIX/opt/make/libexec/gnubin:$PATH"
export PATH="$HOMEBREW_PREFIX/opt/whois/bin:$PATH"
export PATH="$HOMEBREW_PREFIX/opt/jpeg-turbo/bin:$PATH"
#export LDFLAGS="-L$HOMEBREW_PREFIX/opt/jpeg-turbo/lib"
#export CPPFLAGS="-I$HOMEBREW_PREFIX/opt/jpeg-turbo/include"
# pyenv
export PYENV_ROOT="$HOME/.pyenv"
@@ -61,6 +60,10 @@ if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
# volta
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
# ----- Third-party additions below: -----
# Google Cloud SDK