feat(brew): add homebrew quirks for truenas

This commit is contained in:
Jan-Ole Hübner 2025-04-13 18:15:02 +02:00
parent 3f0b8e878f
commit c6cab93f4d
3 changed files with 13 additions and 7 deletions

View file

@ -1,6 +1,10 @@
# Add directories to PATH
export PATH="/opt/homebrew/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/Library/Python/3.9/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
export PATH="$HOME/bin:$PATH"
if uname -r | grep -qi "truenas"; then
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
elif [[ "$OSTYPE" == darwin* ]]; then
export PATH="/opt/homebrew/bin:$PATH"
export PATH="$HOME/Library/Python/3.9/bin:$PATH"
fi