mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-10-05 04:57:21 +02:00
linuxbrew compatibility with fedora atomic
This commit is contained in:
parent
1160da6de6
commit
07e2dca427
@ -65,4 +65,8 @@ fi
|
|||||||
# https://github.com/Homebrew/brew
|
# https://github.com/Homebrew/brew
|
||||||
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
||||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||||
|
# Fedora Atomic compatibility to bypass symlink resolution
|
||||||
|
export HOMEBREW_CELLAR=/home/linuxbrew/.linuxbrew/Cellar
|
||||||
|
export HOMEBREW_PREFIX=/home/linuxbrew/.linuxbrew
|
||||||
|
export HOMEBREW_REPOSITORY=/home/linuxbrew/.linuxbrew
|
||||||
fi
|
fi
|
||||||
|
@ -341,6 +341,10 @@ fi
|
|||||||
# https://github.com/Homebrew/brew
|
# https://github.com/Homebrew/brew
|
||||||
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
||||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||||
|
# Fedora Atomic compatibility to bypass symlink resolution
|
||||||
|
export HOMEBREW_CELLAR=/home/linuxbrew/.linuxbrew/Cellar
|
||||||
|
export HOMEBREW_PREFIX=/home/linuxbrew/.linuxbrew
|
||||||
|
export HOMEBREW_REPOSITORY=/home/linuxbrew/.linuxbrew
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# linuxbrew toolbox compatibility
|
# linuxbrew toolbox compatibility
|
||||||
|
4
rc/zshrc
4
rc/zshrc
@ -304,6 +304,10 @@ fi
|
|||||||
# https://github.com/Homebrew/brew
|
# https://github.com/Homebrew/brew
|
||||||
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
||||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||||
|
# Fedora Atomic compatibility to bypass symlink resolution
|
||||||
|
export HOMEBREW_CELLAR=/home/linuxbrew/.linuxbrew/Cellar
|
||||||
|
export HOMEBREW_PREFIX=/home/linuxbrew/.linuxbrew
|
||||||
|
export HOMEBREW_REPOSITORY=/home/linuxbrew/.linuxbrew
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# linuxbrew toolbox compatibility
|
# linuxbrew toolbox compatibility
|
||||||
|
Loading…
x
Reference in New Issue
Block a user