install homebrew

This commit is contained in:
2024-04-23 17:45:50 +01:00
parent 6d24360e9b
commit 158616a3c1
2 changed files with 4 additions and 1 deletions

View File

@@ -11,7 +11,6 @@ gnome-podcasts
geary geary
impression impression
gnome-calendar gnome-calendar
nautilus
gnome-console gnome-console
gnome-builder gnome-builder
epiphany epiphany

View File

@@ -5,6 +5,10 @@ source scripts/p.sh
# Install script dependencies # Install script dependencies
p i curl git stow bat fzf eza zoxide less p i curl git stow bat fzf eza zoxide less
if [ ! $(command -v brew) ]; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
if [ $(pwd) != "$HOME/dotfiles" ]; then if [ $(pwd) != "$HOME/dotfiles" ]; then
cd $HOME cd $HOME
git clone https://github.com/TrudeEH/dotfiles git clone https://github.com/TrudeEH/dotfiles