From 0fa02794a87d853a0cf43d55dd430105aaeb0436 Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Thu, 14 Mar 2024 20:06:23 -0300 Subject: [PATCH] Update Ubuntu.sh --- Scripts/Ubuntu.sh | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/Scripts/Ubuntu.sh b/Scripts/Ubuntu.sh index 2836d31..3b466ed 100644 --- a/Scripts/Ubuntu.sh +++ b/Scripts/Ubuntu.sh @@ -60,6 +60,28 @@ sudo DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \ sudo snap install powershell --classic +# Git + +cp ./Config/.gitconfig ~/.gitconfig + +# SSH + +mkdir ~/.ssh +cp ./Config/.ssh/config ~/.ssh/config + +# ZSH + +cp ./Config/.zshrc ~/.zshrc + +# Shell + +mkdir ~/.config +cp ./Config/starship.toml ~/.config/starship.toml +git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions +source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh +curl -sS https://starship.rs/install.sh | sh +chsh -s $(which zsh) + # Rust curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh @@ -100,25 +122,3 @@ sudo DEBIAN_FRONTEND=noninteractive apt install docker-ce docker-ce-cli containe sudo usermod -aG docker $USER newgrp docker docker version - -# Git - -cp ./Config/.gitconfig ~/.gitconfig - -# SSH - -mkdir ~/.ssh -cp ./Config/.ssh/config ~/.ssh/config - -# ZSH - -cp ./Config/.zshrc ~/.zshrc - -# Shell - -mkdir ~/.config -cp ./Config/starship.toml ~/.config/starship.toml -git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions -source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh -curl -sS https://starship.rs/install.sh | sh -chsh -s $(which zsh)