🐛 fix dont load linuxbrew if not present
This commit is contained in:
parent
60caa5fe79
commit
7bb9716f15
1 changed files with 3 additions and 1 deletions
4
.zshrc
4
.zshrc
|
|
@ -113,7 +113,9 @@ bindkey -v
|
|||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
|
||||
# make brew accessible
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
if [ -d "$HOME/linuxbrew/.linuxbrew" ] ; then
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private ~/.local/bin if it exists
|
||||
# lvim is installed to this directory (at least on ubuntu)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue