From 45907b3f12ddb3877793b5c4ff01a4171ceb5526 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Sat, 19 Oct 2024 19:56:05 +0900 Subject: [PATCH] feat: update env zsh --- zsh/env.zsh | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/zsh/env.zsh b/zsh/env.zsh index 0afb812..04cb039 100644 --- a/zsh/env.zsh +++ b/zsh/env.zsh @@ -158,6 +158,11 @@ if [[ -d /usr/local/go ]]; then export GOROOT="/usr/local/go" fi +if [[ -d /opt/homebrew/opt/php@8.1 ]]; then + export PATH="/opt/homebrew/opt/php@8.1/bin:$PATH" + export PATH="/opt/homebrew/opt/php@8.1/sbin:$PATH" +fi + if [[ -d $HOME/dotnet ]]; then export DOTNET_ROOT=$HOME/dotnet export PATH=$PATH:$DOTNET_ROOT @@ -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 @@ -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/ + +