.zshrc: Use Node.js from Homebrew instead of nvm
One less dynamic thing needed to source and manage during shell init.
This commit is contained in:
parent
0fb806c258
commit
8cc028a6d1
7
.zshrc
7
.zshrc
@ -48,6 +48,10 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
|
|||||||
export GEM_HOME=~/.gem/ruby/2.5.1
|
export GEM_HOME=~/.gem/ruby/2.5.1
|
||||||
export GEM_PATH=~/.gem/ruby/2.5.1
|
export GEM_PATH=~/.gem/ruby/2.5.1
|
||||||
PATH=$PATH:~/.gem/ruby/2.5.1/bin
|
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"
|
PATH="/usr/local/opt/postgresql@9.5/bin:$PATH"
|
||||||
elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
||||||
# noop
|
# noop
|
||||||
@ -64,9 +68,6 @@ export PS1='[%n@%m: %~]$ '
|
|||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export PAGER=less
|
export PAGER=less
|
||||||
|
|
||||||
# Enable node version manager (nvm)
|
|
||||||
[[ -s ~/.nvm/nvm.sh ]] && . ~/.nvm/nvm.sh
|
|
||||||
|
|
||||||
# resize images using GraphicsMagick
|
# resize images using GraphicsMagick
|
||||||
#
|
#
|
||||||
# $ smartresize DSC_0788.JPG 1920x1080 outputdir [quality]
|
# $ smartresize DSC_0788.JPG 1920x1080 outputdir [quality]
|
||||||
|
Loading…
Reference in New Issue
Block a user