From 3a41db7481f0263ad349aea1887c75cf7bcd71ba Mon Sep 17 00:00:00 2001 From: Werner Date: Tue, 21 Feb 2023 13:48:09 -0300 Subject: [PATCH] Create Manjaro.sh --- Scripts/Manjaro.sh | 87 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 Scripts/Manjaro.sh diff --git a/Scripts/Manjaro.sh b/Scripts/Manjaro.sh new file mode 100644 index 0000000..db2f13b --- /dev/null +++ b/Scripts/Manjaro.sh @@ -0,0 +1,87 @@ +#!/usr/bin/env sh + +# Initialize Keyring + +sudo pacman-key --init +sudo pacman-key --populate +sudo pacman -Sy archlinux-keyring +sudo pacman -Su + +# Dependencies + +sudo pacman -S \ + autoconf \ + automake \ + clang \ + cmake \ + curl \ + ffmpeg \ + gcc \ + git \ + github-cli \ + gzip \ + htop \ + llvm \ + make \ + mono \ + nano \ + neofetch \ + nginx \ + ninja \ + python \ + tar \ + unzip \ + wget \ + youtube-dl \ + zsh + +# Rust + +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +source "$HOME/.cargo/env" +rustup toolchain install nightly +rustup +nightly component add rust-src + +# Tools + +git clone https://github.com/asdf-vm/asdf ~/.asdf + +cargo install --force \ + bandwhich \ + bat \ + cbindgen \ + du-dust \ + fd-find \ + grex \ + hyperfine \ + naga-cli \ + procs \ + ripgrep \ + rmesg \ + sd \ + tokei \ + wasm-bindgen-cli \ + ytop + +# Git + +cp ./Config/.gitconfig ~/.gitconfig + +# SSH + +mkdir ~/.ssh +cp ./Config/.ssh/config ~/.ssh/config + +# ZSH + +cp ./Config/.zshrc ~/.zshrc +xir 1.14.2-otp-25 + +# 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 /usr/bin/zsh