Shell QoL, REPO path refactor, and WSL clipboard image tooling#12
Merged
Conversation
…copying the path to a local file ( great for AI agents)
…n different repos, synced to my local environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shell QoL, REPO path refactor, and WSL clipboard image tooling
Aligns dotfiles with a
$REPO-rooted workspace layout ($HOME/ki), adds saferdeletion and epics navigation, introduces a Windows-clipboard image paste helper
for WSL, and vendors GitHub Markdown CSS for local Pandoc previews.
Key Changes
BOKU_PATHwithREPO($HOME/ki) inzshenv, shell helpers, andskillsSync, resolving the boku tree as$REPO/boku. This matches how theworkspace is organized on disk and keeps sibling repos addressable from one
root.
pbpaste-img(bin/pbpaste-img+bin/pbpaste-img.ps1) to save thecurrent Windows clipboard bitmap to
~/.local/pbpaste-img/YY-MM/and copy thesaved path back to the clipboard, with WSL vs native Windows path handling.
rmtotrash -vand installtrash-cliviajust i-bash(along withca-certificates,gnupg, andcurl).epics()to open the epics tree in Neovim, fixvvjqto pipe throughview -, remove unusedrtalias, and normalize quotestyle in
aliases.sh.css/github-markdown.min.css(cdnjs 5.8.1) plus a small Pandoc overridefor
.markdown-bodylayout, documented incss/README.md.$HOME/.local/bintoPATHinzshrc.Appendix
skillsSynctests now setREPOto a parent directory and place the bokutree at
$REPO/boku, mirroring production layout.pbpaste-imgrequirespowershell.exeandwslpath; output directory isoverridable 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_PATHwithREPO($HOME/ki) and derives dotfiles/notes paths as$REPO/boku/...inzshenv,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 whenis_wsl).Vendors GitHub Markdown CSS plus a small Pandoc layout override for local HTML previews; documents usage in
css/README.md.Shell tweaks:
rm→trash -v, newepicshelper,just i-bashpulls intrash-cliand related packages, duplicate Codex~/.local/binPATH inzshrc, and minor alias/formatting cleanup.Reviewed by Cursor Bugbot for commit 16bf1d2. Configure here.