From dd91da6b00b11381aa4544827d5887383e180f49 Mon Sep 17 00:00:00 2001 From: Cole Maxwell Date: Tue, 19 May 2026 14:46:28 -0500 Subject: [PATCH] Add .dotnet/tools to PATH if installed --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zshrc b/.zshrc index b9a248a..48e4cb2 100644 --- a/.zshrc +++ b/.zshrc @@ -57,6 +57,11 @@ if [[ -d $HOME/.cargo/bin && ":$PATH:" != *":$HOME/.cargo/bin:"* ]]; then export PATH=$PATH:$HOME/.cargo/bin fi +# Add .dotnet/tools path if installed and not already in $PATH +if [[ -d $HOME/.dotnet/tools && ":$PATH:" != *":$HOME/.dotnet/tools:"* ]]; then + export PATH=$PATH:$HOME/.dotnet/tools +fi + ############################################### # History configuration ###############################################