diff --git a/dx/usr/share/fish/vendor_conf.d/brew.fish b/dx/usr/share/fish/vendor_conf.d/brew.fish index a42e0b26897..7bb9497c0b3 100644 --- a/dx/usr/share/fish/vendor_conf.d/brew.fish +++ b/dx/usr/share/fish/vendor_conf.d/brew.fish @@ -1 +1 @@ -command -v brew >/dev/null 2>&1 && status --is-interactive && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" +[ -d /home/linuxbrew/.linuxbrew ] && status --is-interactive && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"