From ece47e870cbe1300a99b680da9558fe5d732035d Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Tue, 8 Jul 2025 15:30:06 +0200 Subject: [PATCH] Add path .local/bin in the PATH variable --- zsh/.zshenv | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsh/.zshenv b/zsh/.zshenv index 21d968e..f5cf481 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -10,3 +10,9 @@ if command -v starship > /dev/null 2>&1; then eval "$(starship init zsh)" fi +# Aggiungi ~/.local/bin a PATH se non c'è già +case ":$PATH:" in + *":$HOME/.local/bin:"*) ;; + *) export PATH="$HOME/.local/bin:$PATH" ;; +esac +