Skip to content

Commit

Permalink
fix mac only command
Browse files Browse the repository at this point in the history
  • Loading branch information
underyx committed Jan 5, 2024
1 parent 70ef9ac commit db1adfe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions zsh/environment
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ export LANG=en_US.UTF-8

export GOPATH="$HOME/go"
export PATH="./node_modules/.bin:$HOME/.cargo/bin:$HOME/bin:$HOME/.local/bin:$GOPATH/bin:/opt/homebrew/bin:/usr/local/sbin:$PATH"
export CPATH="$CPATH:$(brew --prefix)/include"
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
export PIPENV_VENV_IN_PROJECT=true

if exists brew; then
export CPATH="$CPATH:$(brew --prefix)/include"
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
fi

if exists vim; then
export EDITOR=$(command -v vim)
fi
Expand Down

0 comments on commit db1adfe

Please sign in to comment.