💻 Core Aliases & Functions (WayCup Admin VM)

[1] Terminal & System Maintenance

  • reload: source ~/.bashrc - Apply config changes instantly.
  • edit-config: nano ~/.bashrc && source ~/.bashrc - Edit and reload config.
  • ll: ls -la - Detailed file list.
  • dot: cd ~/dotfiles - Jump to config source of truth.
  • sys-update: Detects environment and runs appropriate cleanup (APT, NPM, Gemini-CLI).

[2] WayCup Infrastructure (4-Pillar Scaffolding)

  • cd1: cd ~/projects/01_internal - Core Vault, Agents, and Infrastructure.
  • cd2: cd ~/projects/02_labs - R&D, Prototyping, and Experiments.
  • cd3: cd ~/projects/03_clients - Production Client Instances (e.g., Dog Wizard).
  • cd4: cd ~/projects/04_archive - Completed History and Knowledge Synthesis.
  • cdway: cd ~/projects/00_core/vault - Jump to the Heart of the Engine.
  • cddog: cd ~/projects/03_clients/dogwizard - Active client production.
  • p <name>: Smart project jumper (searches ~/projects).

[3] Snippet Management (snip)

The snip function wraps the GitHub CLI (gh gist) to provide a terminal-first code snippet repository.

  • CTO Sauce: This is a Catalyst for speed, allowing the team to push/pull utility scripts without leaving the shell. It is the bridge between the Vault (Prose) and the Engine (Code).
  • Commands:
    • snip push <file>: Upload a snippet to your GitHub Gists.
    • snip search <query>: Search your gist history.
    • snip list: View recent snippets.
    • snip pull <id>: Stream a gist directly to the terminal.
  • Security Constraint: Never include secrets or API keys in snippets. Gists are linked to your personal GitHub account.

[4] Git & Workflow

  • gst: git status (Replaced gs to avoid GhostScript conflict).
  • ga: git add .
  • gc: git commit -m
  • gp: git push
  • gl: git log --oneline --graph
  • ghprc: gh pr create --fill

[5] Master CTO Control

  • sync-all: Bi-directional dotfiles synchronization across Git.
  • waycup: The “Wake Up” command. Syncs, updates, and tunnels from Controller to Engine.
  • box: native SSH to the Chromebox Engine.
  • waycup-vm: Primary development Engine on GCP.