2024-01-16 18:40:25 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
2026-02-06 00:27:11 -06:00
|
|
|
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
|
2026-02-19 12:05:15 -06:00
|
|
|
git config --global pull.rebase true
|
2026-02-06 00:27:11 -06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2024-01-16 18:40:25 -06:00
|
|
|
echo "Syncing user with nvim..."
|
2024-01-25 11:13:44 -06:00
|
|
|
rsync --delete --recursive $(dirname "$0")/nvim/ ~/.config/nvim
|
2024-01-25 11:13:07 -06:00
|
|
|
|
2024-01-16 19:05:19 -06:00
|
|
|
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
|
2024-01-25 11:13:07 -06:00
|
|
|
|
2024-03-26 02:18:38 -05:00
|
|
|
rsync $(dirname "$0")/.zshrc ~/.zshrc
|
|
|
|
|
|
2024-01-16 18:40:25 -06:00
|
|
|
echo "Syncing complete!"
|