31 lines
839 B
Bash
31 lines
839 B
Bash
#!/bin/bash
|
|
echo "-= Creating necessary directories =-"
|
|
mkdir -p ~/.config ~/.config/nvim
|
|
|
|
echo "-= Installing System Dependencies =-"
|
|
brew install zsh tmux neovim/neovim/neovim python3 ag
|
|
brew tap caskroom/cask
|
|
brew cask install iterm2
|
|
|
|
echo "-= Installing Fonts =-"
|
|
brew tap caskroom/fonts
|
|
brew cask install font-fira-code
|
|
|
|
echo "-= Assigning Zsh as Default Shell =-"
|
|
chsh -s $(which zsh)
|
|
|
|
echo "-= Upgrading NeoVim with Python =-"
|
|
pip3 install neovim
|
|
|
|
echo "-= Setting Zsh as default shell =-"
|
|
chsh -s /usr/local/bin/zsh
|
|
|
|
echo "-= Removing any existing configs =-"
|
|
rm ~/.zshrc ~/.tmux.conf ~/.config/nvim/init.vim 2> /dev/null
|
|
|
|
echo "-= Symlinking new configs =-"
|
|
ln -s ~/dotfiles/zshrc ~/.zshrc
|
|
ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
|
|
ln -s ~/dotfiles/vimrc ~/.config/nvim/init.vim
|
|
|
|
echo "-= Log out and Log Back In to see changes =-"
|