Skip to content

Commit

Permalink
feat: update env zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
einverne committed Oct 19, 2024
1 parent a2ce34a commit 45907b3
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions zsh/env.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ if [[ -d /usr/local/go ]]; then
export GOROOT="/usr/local/go"
fi

if [[ -d /opt/homebrew/opt/[email protected] ]]; then
export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"
export PATH="/opt/homebrew/opt/[email protected]/sbin:$PATH"
fi

if [[ -d $HOME/dotnet ]]; then
export DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$DOTNET_ROOT
Expand All @@ -172,12 +177,16 @@ if [[ -d $HOME/.cargo ]]; then
export PATH="$PATH:$HOME/.cargo/bin"
fi

if [[ -d $HOME/.kube ]]; then
export KUBECONFIG=~/.kube/config
fi

if [[ -d /usr/lib/dart/bin ]]; then
export PATH="$PATH:/usr/lib/dart/bin"
fi

if [[ -d $HOME/.asdf/installs/rust/1.51.0/bin ]]; then
export PATH="$PATH:$HOME/.asdf/installs/rust/1.51.0/bin"
if [[ -d $HOME/.asdf/installs/rust/1.81.0/bin ]]; then
export PATH="$PATH:$HOME/.asdf/installs/rust/1.81.0/bin"
fi

if [[ -d $HOME/Library/Application\ Support/JetBrains/Toolbox/scripts ]]; then
Expand All @@ -197,3 +206,8 @@ export PATH=/home/einverne/bin:$PATH

export PATH="$HOME/.poetry/bin:$PATH"
export PATH="$HOME/.fly/bin:$PATH"

export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib/
export CPATH=$CPATH:/opt/homebrew/include/


0 comments on commit 45907b3

Please sign in to comment.