3 changed files with 64 additions and 0 deletions
@ -0,0 +1,25 @@
|
||||
#!/bin/bash |
||||
set -euo pipefail |
||||
|
||||
echo "[1/4] Updating pacman and installing prerequisites (curl, base-devel, imagemagick, glow)..." |
||||
sudo pacman -Syu --noconfirm |
||||
sudo pacman -S --noconfirm curl base-devel imagemagick glow |
||||
|
||||
echo "[2/4] Downloading and installing rustup (latest rustc/cargo)..." |
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y |
||||
|
||||
rustup default stable |
||||
|
||||
echo "[3/4] Sourcing cargo environment..." |
||||
source "$HOME/.cargo/env" |
||||
|
||||
echo " -> Installed: $(rustc --version)" |
||||
echo " -> Installed: $(cargo --version)" |
||||
|
||||
echo "[4/4] Installing tools..." |
||||
cargo install fsel@3.5.1-kiwicrab |
||||
cargo install --force yazi-build |
||||
cargo install resvg |
||||
|
||||
echo "Done!" |
||||
|
||||
@ -0,0 +1,16 @@
|
||||
#!/bin/env bash |
||||
|
||||
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" |
||||
|
||||
sudo pacman -Syu --noconfirm |
||||
sudo pacman -S --noconfirm \ |
||||
jq \ |
||||
ripgrep \ |
||||
fd \ |
||||
zoxide \ |
||||
base-devel \ |
||||
just \ |
||||
neovim |
||||
|
||||
nvim --version |
||||
|
||||
@ -0,0 +1,23 @@
|
||||
#!/bin/env bash |
||||
|
||||
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" |
||||
|
||||
sudo pacman -Syu --noconfirm |
||||
sudo pacman -S --noconfirm zsh eza unzip |
||||
|
||||
sudo chsh -s "$(which zsh)" "$USER" |
||||
|
||||
source "${SCRIPT_DIR}/../ensure-locale.sh" |
||||
|
||||
cd ~ |
||||
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf |
||||
./.fzf/install |
||||
|
||||
mkdir -p ~/.local/share/fonts |
||||
cd ~/.local/share/fonts |
||||
|
||||
fontName=DejaVuSansMono |
||||
curl -L -O "https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/${fontName}.zip" |
||||
unzip ${fontName}.zip |
||||
rm ${fontName}.zip |
||||
|
||||
Loading…
Reference in new issue