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
5
.zshrc
5
.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
|
||||
|
||||
# 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"
|
||||
|
||||
|
|
Reference in a new issue