Add bat to installation script

This commit is contained in:
Bohdan Bahno 2024-03-03 01:01:52 +00:00
parent bd319da348
commit abb170f1b5
1 changed files with 9 additions and 1 deletions

View File

@ -1,10 +1,18 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# If Homebrew is not installed
if ! command -v brew &> /dev/null if ! command -v brew &> /dev/null
then then
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi fi
brew install fish fd fzf ripgrep neovim stow zoxide lsd # 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 echo '/usr/local/bin/fish' >> /etc/shells
chsh -s /usr/local/bin/fish chsh -s /usr/local/bin/fish
# Symlink all configurations from .dotfiles
stow .