script: increase automation in setup

This commit is contained in:
2026-02-06 00:27:11 -06:00
parent 7c9210841a
commit c69c0f76a2
+17
View File
@@ -1,5 +1,22 @@
#!/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
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