Initial commit
This commit is contained in:
commit
56ed33c8f7
19 changed files with 151 additions and 0 deletions
1
setup/programs/package_manager/brew/install_brew.sh
Normal file
1
setup/programs/package_manager/brew/install_brew.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
31
setup/programs/package_manager/brew/packages.sh
Normal file
31
setup/programs/package_manager/brew/packages.sh
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
function install {
|
||||
which $1 &> /dev/null
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Installing: ${1}..."
|
||||
if [ -z ${2} ]
|
||||
then
|
||||
brew install ${1}
|
||||
else
|
||||
brew install --cask ${1}
|
||||
fi
|
||||
else
|
||||
echo "Already installed: ${1}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
cask_packages = (gimp thunderbird firefox zotero rectangle vlc iterm2 inkscape obsidian blender mactex bitwarden visual-studio-code spotify)
|
||||
other_packages = (neovim tmux docker docker-compose git curl zsh stow tree)
|
||||
|
||||
brew update
|
||||
|
||||
for package in "${cask_packages}"
|
||||
do
|
||||
install ${package} "cask"
|
||||
done
|
||||
|
||||
for package in "${other_packages}"
|
||||
do
|
||||
install ${package}
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue