s

setup

Hardened interactive Ubuntu/Debian setup scripts, including CCUsage multi-device sync for Claude Code, Codex CLI, and OpenCode.

0 0 29
1 #!/usr/bin/env bash
2
3 set -euo pipefail
4
5 echo "======================================"
6 echo " Ubuntu Dual-Boot Time Fix Script"
7 echo " (Local Time Method - Asia/Singapore)"
8 echo "======================================"
9 echo

Interactive developer environment bootstrapper using official upstream downloads and signed OS-vendor packages.

0 0 2
1 #!/usr/bin/env bash
2
3 # =======================================================
4 # 1. BOOTSTRAPPER: PREFER ZSH, FALLBACK TO BASH
5 # =======================================================
6 if [ -z "${_PREFER_ZSH_BOOTSTRAPPED:-}" ]; then
7 export _PREFER_ZSH_BOOTSTRAPPED=1
8
9 # Only attempt to re-execute if $0 is an actual file on disk.
10 # This prevents the 'can't open input file' error when running

Cross-platform Zsh setup scripts and managed dotfiles with Oh My Zsh framework, Starship prompt, aliases, functions, and path configuration.

0 0 19
1 # =============================================================================
2 # 1. HELPER FUNCTIONS & PATH
3 # =============================================================================
4 source_if_readable() {
5 local file="$1"
6 if [[ -f "$file" && -r "$file" ]]; then
7 source "$file"
8 fi
9 }