don't load linuxbrew if it isn't installed

This commit is contained in:
Seaswimmer 2024-10-27 08:58:20 -04:00
parent a088177aae
commit 630beedcab
Signed by: cswimr
GPG key ID: A9C162E867C851FA

5
.zshrc
View file

@ -13,8 +13,9 @@ fi
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$HOME/.cargo/bin:/usr/local/go/bin:$HOME/go/bin:$NIMBLE_DIR/bin:$PATH
# Load linuxbrew
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
if [[ -d /home/linuxbrew/.linuxbrew/ ]]; then
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
fi
# Path to your Oh My Zsh installation.
export ZSH="$HOME/.oh-my-zsh"