mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-06-23 23: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
|
||||
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
||||
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
|
||||
|
@ -341,6 +341,10 @@ fi
|
||||
# https://github.com/Homebrew/brew
|
||||
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
||||
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
|
||||
|
||||
# linuxbrew toolbox compatibility
|
||||
|
4
rc/zshrc
4
rc/zshrc
@ -304,6 +304,10 @@ fi
|
||||
# https://github.com/Homebrew/brew
|
||||
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
|
||||
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
|
||||
|
||||
# linuxbrew toolbox compatibility
|
||||
|
Loading…
x
Reference in New Issue
Block a user