Files
linux-provisioning/config/scripts/env.sh
Julian Prester 180c5838ea Initial commit: linux-provision repo
Distribution-agnostic provisioning script that sets up a new Linux machine
(Detected via lib/distro.sh - supports Debian/Ubuntu/Pop and Fedora families).

13 stages covering:
- System packages, external repos, toolchains (nvm, uv, Python)
- Shell config (zsh, oh-my-zsh, p10k), git, SSH
- Custom uv tools from ~40 git repos
- Desktop config (keybindings, hotkeys, ghostty, fonts)
- Docker, system tweaks, browser/app installs
- Custom systemd user services (porridge, swayidle, mempi-sync, etc.)
- API keys loaded from Bitwarden at shell startup
2026-06-05 21:22:44 +10:00

16 lines
577 B
Bash

#!/bin/sh
# ===========================================================================
# env — PATH helper
# Sourced from ~/.profile and ~/.bashrc to ensure ~/.local/bin is in PATH.
# Idempotent — won't duplicate PATH entries.
# ===========================================================================
# affix colons on either side of $PATH to simplify matching
case ":${PATH}:" in
*:"$HOME/.local/bin":*)
;;
*)
# Prepending path in case a system-installed binary needs overriding
export PATH="$HOME/.local/bin:$PATH"
;;
esac