Skip to content

zsh, ud: Keep repos directly under HOME, with REPO=$HOME - #140

Merged
Unique-Divine merged 1 commit into
mainfrom
ud/home-layout
Nov 15, 2026
Merged

Unique-Divine merged 1 commit into
mainfrom
ud/home-layout

Conversation

@Unique-Divine

Copy link
Copy Markdown
Owner

The laptop moved every repo from ~/ki/<name> to ~/<name>, and ~/ki/<name> now links to ../<name>. This commits the dotfiles side of that layout. homebox will get the same layout before it next runs just sync.

Changes

  • zsh/zshenv: REPO="$HOME". DOTFILES, EPICS, and PASSWORD_STORE_DIR follow it. Removes the unused OUTTXT export; rg finds no reader.
  • ud fs: the default refs search root is now ~ instead of ~/ki, because rg does not follow ~/ki's symlinks. source_label labels a repo directly under ~ the same way it labeled one under ~/ki (boku/epics/x), so new labels match existing index entries. There is a new test for that case.
  • ud q out, zsh/ud/shell.sh, justfile (email_private), and the READMEs point at ~/boku, ~/out.txt, and ~/gh-io-ud. mise/README.md uses cd "$DOTFILES".

Verification

  • cargo test -p ud: all pass except fs_rm_previews_backlinks_without_deleting, which fails the same way on unchanged origin/main.
  • bash -n zsh/ud/shell.sh and zsh -n zsh/zshenv pass.
  • These changes are the laptop's uncommitted refactor edits, applied as they were, plus the OUTTXT, source_label, and mise/README.md updates.

Repos moved from ~/ki/<name> to ~/<name>; ~/ki keeps symlinks to them. REPO is now $HOME, so DOTFILES, EPICS, and PASSWORD_STORE_DIR follow. ud fs refs searches ~ (rg does not follow ~/ki's symlinks), ud fs labels repos directly under ~ as it labeled ~/ki ones, and docs and helpers point at ~/boku. Drops the unused OUTTXT.
@Unique-Divine Unique-Divine added the A-tech-investment Area: Internal work that helps the team ship faster label Nov 15, 2026
@Unique-Divine
Unique-Divine merged commit 54baf37 into main Nov 15, 2026
10 checks passed
@Unique-Divine
Unique-Divine deleted the ud/home-layout branch November 15, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tech-investment Area: Internal work that helps the team ship faster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant