🐛 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
2
.zshrc
2
.zshrc
|
|
@ -113,7 +113,9 @@ bindkey -v
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
|
|
||||||
# make brew accessible
|
# make brew accessible
|
||||||
|
if [ -d "$HOME/linuxbrew/.linuxbrew" ] ; then
|
||||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||||
|
fi
|
||||||
|
|
||||||
# set PATH so it includes user's private ~/.local/bin if it exists
|
# set PATH so it includes user's private ~/.local/bin if it exists
|
||||||
# lvim is installed to this directory (at least on ubuntu)
|
# lvim is installed to this directory (at least on ubuntu)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue