Skip to content

Shell QoL, REPO path refactor, and WSL clipboard image tooling#12

Merged
Unique-Divine merged 5 commits into
mainfrom
ud/sync
Jul 13, 2026
Merged

Shell QoL, REPO path refactor, and WSL clipboard image tooling#12
Unique-Divine merged 5 commits into
mainfrom
ud/sync

Conversation

@Unique-Divine

@Unique-Divine Unique-Divine commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Shell QoL, REPO path refactor, and WSL clipboard image tooling

Aligns dotfiles with a $REPO-rooted workspace layout ($HOME/ki), adds safer
deletion and epics navigation, introduces a Windows-clipboard image paste helper
for WSL, and vendors GitHub Markdown CSS for local Pandoc previews.

Key Changes

  1. Replace BOKU_PATH with REPO ($HOME/ki) in zshenv, shell helpers, and
    skillsSync, resolving the boku tree as $REPO/boku. This matches how the
    workspace is organized on disk and keeps sibling repos addressable from one
    root.
  2. Add pbpaste-img (bin/pbpaste-img + bin/pbpaste-img.ps1) to save the
    current Windows clipboard bitmap to ~/.local/pbpaste-img/YY-MM/ and copy the
    saved path back to the clipboard, with WSL vs native Windows path handling.
  3. Safer shell defaults: alias rm to trash -v and install trash-cli via
    just i-bash (along with ca-certificates, gnupg, and curl).
  4. Shell helper updates: add epics() to open the epics tree in Neovim, fix
    vvjq to pipe through view -, remove unused rt alias, and normalize quote
    style in aliases.sh.
  5. Vendor css/github-markdown.min.css (cdnjs 5.8.1) plus a small Pandoc override
    for .markdown-body layout, documented in css/README.md.
  6. Append Codex installer's $HOME/.local/bin to PATH in zshrc.

Appendix

  • skillsSync tests now set REPO to a parent directory and place the boku
    tree at $REPO/boku, mirroring production layout.
  • pbpaste-img requires powershell.exe and wslpath; output directory is
    overridable via PBPASTE_IMG_DIR.

Note

Medium Risk
The REPO/BOKU_PATH rename breaks any external scripts still expecting BOKU_PATH, and aliasing rm to trash changes delete behavior machine-wide for interactive shells.

Overview
Replaces BOKU_PATH with REPO ($HOME/ki) and derives dotfiles/notes paths as $REPO/boku/... in zshenv, quick.sh, skillsSync.ts, and tests.

Adds pbpaste-img (bash + PowerShell): reads a bitmap from the Windows clipboard, saves a timestamped PNG under ~/.local/pbpaste-img (month subdirs), and puts the saved path back on the clipboard (WSL path when is_wsl).

Vendors GitHub Markdown CSS plus a small Pandoc layout override for local HTML previews; documents usage in css/README.md.

Shell tweaks: rmtrash -v, new epics helper, just i-bash pulls in trash-cli and related packages, duplicate Codex ~/.local/bin PATH in zshrc, and minor alias/formatting cleanup.

Reviewed by Cursor Bugbot for commit 16bf1d2. Configure here.

@Unique-Divine
Unique-Divine merged commit b53bfa8 into main Jul 13, 2026
2 checks passed
@Unique-Divine
Unique-Divine deleted the ud/sync branch July 13, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant