mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-06 01:19:23 +01:00
Revert "{bash,zsh}rc: workaround insecure homebrew"
This reverts commit 053f0e6005
.
This commit is contained in:
parent
e423a32ea7
commit
ded5ed45e0
@ -323,8 +323,6 @@ 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
|
||||||
# https://www.junian.net/dev/macos-fix-zsh-compinit-insecure-directories/
|
|
||||||
(compaudit | xargs chmod g-w > /dev/null 2>&1 &)
|
|
||||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
2
rc/zshrc
2
rc/zshrc
@ -285,8 +285,6 @@ 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
|
||||||
# https://www.junian.net/dev/macos-fix-zsh-compinit-insecure-directories/
|
|
||||||
(compaudit | xargs chmod g-w > /dev/null 2>&1 &)
|
|
||||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user