#!/bin/bash echo "Setting up git user..." git config --global user.name "trianta" git config --global user.email "gregcraw2001@gmail.com" git config --global gpg.format ssh git config --global user.signingkey ~/.ssh/id_ed25519.pub git config --global pull.rebase true echo "Getting tools for environment..." if test -d ~/tools; then mkdir ~/tools; fi git clone --depth 1 https://github.com/zsh-users/zsh-autosuggestions.git ~/tools/zsh-autosuggestions git clone --depth 1 https://github.com/zsh-users/zsh-history-substring-search.git ~/tools/zsh-history-substring-search git clone --depth 1 https://github.com/zsh-users/zsh-syntax-highlighting.git ~/tools/zsh-syntax-highlighting git clone --depth 1 https://github.com/romkatv/powerlevel10k.git ~/tools/powerlevel10k echo "Syncing user with nvim..." rsync --delete --recursive $(dirname "$0")/nvim/ ~/.config/nvim echo "Syncing user with tmux..." echo " Note: prefix + I for tmux setup" mkdir -p ~/tmux rsync --recursive $(dirname "$0")/tmux/tmux.conf ~/.config/tmux/tmux.conf rsync $(dirname "$0")/.zshrc ~/.zshrc echo "Syncing complete!"