fix(zshrc): check for homebrew first
make zsh check if the homebrew directory is present before attempting to load it.
This commit is contained in:
parent
a79e9e988f
commit
7ad661267e
4
zshrc
4
zshrc
|
|
@ -57,7 +57,9 @@ fi
|
||||||
## Load external stuff
|
## Load external stuff
|
||||||
|
|
||||||
##Configure for homebrew
|
##Configure for homebrew
|
||||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
if [[ -d "/home/linuxbrew" ]]; then
|
||||||
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||||
|
fi
|
||||||
|
|
||||||
## Configure Plugins
|
## Configure Plugins
|
||||||
export ZSH_AUTOSUGGEST_STRATEGY=(completion history) # suggest from completion then history
|
export ZSH_AUTOSUGGEST_STRATEGY=(completion history) # suggest from completion then history
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user