dotfiles/mac-os-install.bash

19 lines
450 B
Bash
Executable File

#!/usr/bin/env bash
# If Homebrew is not installed
if ! command -v brew &> /dev/null
then
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
# Install dependencies
brew install fish fd fzf ripgrep neovim stow zoxide lsd bat
# Set fish as a default shell
echo '/usr/local/bin/fish' >> /etc/shells
chsh -s /usr/local/bin/fish
# Symlink all configurations from .dotfiles
stow .