update scripts

This commit is contained in:
Bastian Gruber 2026-01-29 16:27:35 -04:00
parent 34f1f5d63b
commit d422ab72b5
Signed by: gruberb
GPG key ID: 426AF1CBA0530691
4 changed files with 12 additions and 13 deletions

View file

@ -31,20 +31,20 @@ sudo pacman -S --noconfirm --needed \
{{ if .hasGUI -}} {{ if .hasGUI -}}
# GUI tools (only on machines with GUI) # GUI tools (only on machines with GUI)
# Check if yay is installed for AUR packages # Check if paru is installed for AUR packages
if ! command -v yay &> /dev/null; then if ! command -v paru &> /dev/null; then
echo "==> Installing yay for AUR packages..." echo "==> Installing paru for AUR packages..."
cd /tmp cd /tmp
git clone https://aur.archlinux.org/yay.git git clone https://aur.archlinux.org/paru.git
cd yay cd paru
makepkg -si --noconfirm makepkg -si --noconfirm
cd - cd -
rm -rf /tmp/yay rm -rf /tmp/paru
fi fi
# Install Ghostty from AUR # Install Ghostty from AUR
echo "==> Installing Ghostty from AUR..." echo "==> Installing Ghostty from AUR..."
yay -S --noconfirm --needed ghostty paru -S --noconfirm --needed ghostty
{{ end -}} {{ end -}}
{{ else if eq .pkgManager "apt" -}} {{ else if eq .pkgManager "apt" -}}

View file

@ -25,10 +25,6 @@ rustup default stable
echo "==> Installing Rust components..." echo "==> Installing Rust components..."
rustup component add rustfmt clippy rust-analyzer rustup component add rustfmt clippy rust-analyzer
# Install useful cargo tools
echo "==> Installing cargo tools..."
cargo install --locked cargo-watch cargo-edit cargo-outdated 2>/dev/null || true
echo "==> Rust toolchain installed successfully!" echo "==> Rust toolchain installed successfully!"
echo " rustc: $(rustc --version)" echo " rustc: $(rustc --version)"
echo " cargo: $(cargo --version)" echo " cargo: $(cargo --version)"

View file

@ -13,10 +13,10 @@ if ! command -v fnm &> /dev/null; then
# Add fnm to PATH for this script # Add fnm to PATH for this script
export PATH="$HOME/.local/share/fnm:$PATH" export PATH="$HOME/.local/share/fnm:$PATH"
eval "$(fnm env)" eval "$(fnm env --shell bash)"
else else
echo "==> fnm already installed" echo "==> fnm already installed"
eval "$(fnm env)" eval "$(fnm env --shell bash)"
fi fi
# Install latest LTS Node.js # Install latest LTS Node.js

View file

@ -64,3 +64,6 @@ set -gx GPG_TTY (tty)
# Editor # Editor
set -gx EDITOR {{ .editor }} set -gx EDITOR {{ .editor }}
set -gx VISUAL {{ .editor }} set -gx VISUAL {{ .editor }}
# Go module cache (keep ~/go clean)
set -gx GOMODCACHE ~/.cache/go/mod