don't load linuxbrew if it isn't installed
This commit is contained in:
parent
a088177aae
commit
630beedcab
1 changed files with 3 additions and 2 deletions
3
.zshrc
3
.zshrc
|
@ -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
|
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
|
# Load linuxbrew
|
||||||
|
if [[ -d /home/linuxbrew/.linuxbrew/ ]]; then
|
||||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||||
|
fi
|
||||||
# Path to your Oh My Zsh installation.
|
# Path to your Oh My Zsh installation.
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
|
|
||||||
|
|
Reference in a new issue