clone of my dotfiles.ssp.sh
1#!/bin/bash
2
3# Simple installation script for Pi Pico typewriter setup
4# Usage: ./install-wp.sh
5
6# Install all packages listed in wp-packages.txt
7echo "Installing packages..."
8cat wp-packages.txt | grep -v "^#" | xargs sudo apt install -y
9
10# Create symlink for fd (Debian packages fd as fdfind)
11if [ -f "/usr/bin/fdfind" ] && [ ! -f "/usr/local/bin/fd" ]; then
12 sudo ln -s $(which fdfind) /usr/local/bin/fd
13fi
14
15# Configure zoxide (better cd command)
16if ! grep -q "zoxide init" ~/.bashrc; then
17 echo 'eval "$(zoxide init bash)"' >> ~/.bashrc
18 echo "Added zoxide to bashrc"
19fi
20
21echo "Installation complete!"