From 8cc028a6d1734e9cb9a05b3b6bef1354f55b0707 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 7 Apr 2018 17:03:05 +0300 Subject: [PATCH] .zshrc: Use Node.js from Homebrew instead of nvm One less dynamic thing needed to source and manage during shell init. --- .zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.zshrc b/.zshrc index 9a1b47a..7d183b0 100644 --- a/.zshrc +++ b/.zshrc @@ -48,6 +48,10 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then export GEM_HOME=~/.gem/ruby/2.5.1 export GEM_PATH=~/.gem/ruby/2.5.1 PATH=$PATH:~/.gem/ruby/2.5.1/bin + + # Use node@8 from Homebrew instead of NVM + PATH=$PATH:/usr/local/opt/node@8/bin + PATH="/usr/local/opt/postgresql@9.5/bin:$PATH" elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then # noop @@ -64,9 +68,6 @@ export PS1='[%n@%m: %~]$ ' export EDITOR=vim export PAGER=less -# Enable node version manager (nvm) -[[ -s ~/.nvm/nvm.sh ]] && . ~/.nvm/nvm.sh - # resize images using GraphicsMagick # # $ smartresize DSC_0788.JPG 1920x1080 outputdir [quality]