install: stop using Linuxbrew
This commit is contained in:
parent
cef70a9d6d
commit
b3f74071f9
@ -67,11 +67,6 @@ if not functions -q fisher
|
|||||||
fish -c fisher
|
fish -c fisher
|
||||||
end
|
end
|
||||||
|
|
||||||
# Homebrew package manager
|
|
||||||
if test -x /home/linuxbrew/.linuxbrew/bin/brew
|
|
||||||
eval (/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Nix package manager
|
# Nix package manager
|
||||||
if test -f ~/.nix-profile/etc/profile.d/nix.sh
|
if test -f ~/.nix-profile/etc/profile.d/nix.sh
|
||||||
functions -q fenv && fenv source ~/.nix-profile/etc/profile.d/nix.sh
|
functions -q fenv && fenv source ~/.nix-profile/etc/profile.d/nix.sh
|
||||||
|
@ -17,10 +17,13 @@ confirm() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Install tools
|
# Install tools
|
||||||
confirm "Install Homebrew?" && "$DOTFILES/install/install-brew.sh"
|
if [[ "$OSTYPE" == linux-gnu* ]]; then
|
||||||
confirm "Install Homebrew packages?" && "$DOTFILES/install/install-brew-packages.sh"
|
|
||||||
confirm "Install Nix?" && "$DOTFILES/install/install-nix.sh"
|
confirm "Install Nix?" && "$DOTFILES/install/install-nix.sh"
|
||||||
confirm "Install Nix packages?" && "$DOTFILES/install/install-nix-packages.sh"
|
confirm "Install Nix packages?" && "$DOTFILES/install/install-nix-packages.sh"
|
||||||
|
elif [[ "$OSTYPE" == darwin* ]]; then
|
||||||
|
confirm "Install Homebrew?" && "$DOTFILES/install/install-brew.sh"
|
||||||
|
confirm "Install Homebrew packages?" && "$DOTFILES/install/install-brew-packages.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# Extra steps
|
# Extra steps
|
||||||
confirm "Set login shell?" && "$DOTFILES/install/install-shell.sh"
|
confirm "Set login shell?" && "$DOTFILES/install/install-shell.sh"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user