#!/usr/bin/env bash echo "installing prereqs..." brew install exa brew install bat brew install wget brew install ripgrep brew install fzf brew install asdf brew install neovim brew install tree brew install elixir brew install diff-so-fancy brew install python brew install curlie brew install tldr brew install starship brew install alacritty brew install tmuxinator brew install nnn brew install jq brew install fd brew install tokei brew install procs brew install stylua brew install python brew install --cask keycastr pip install pygments echo "installing oh my zsh" wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh cd ~/ echo "cloning repository" mkdir ~/bin cd ~/bin git clone git@github.com:ignu/dotfiles.git echo "linking files" cd ln ~/bin/dotfiles/vimrc .vimrc ln -s ~/bin/dotfiles/vim .vim ln -s ~/bin/dotfiles/vim ~/.config/nvim ln ~/bin/dotfiles/gitconfig .gitconfig ln ~/bin/dotfiles/aliasrc .aliasrc ln ~/bin/dotfiles/tmux.conf .tmux.conf ln -s ~/bin/dotfiles/nvim nvim ln -s ~/bin/dotfiles/nvim ~/.config/nvim rm .zshrc ln ~/bin/dotfiles/zshrc .zshrc rm -rf ~/.zsh_profile.d ln -s ~/bin/dotfiles/zsh_profile.d .zsh_profile.d echo "install ohmyzsh plugins" git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting git clone https://github.com/zdharma/fast-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting source ~/.zshrc reprofile git config --global core.excludesfile ~/.gitignore_global