script: increase automation in setup
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user