Repository navigation
docs(spec): plan #1 Source aliases only from the home directory - #19
Merged
Merged
Conversation
3 tasks
- Add the spec delta of the new capability shell-aliases and drop skip_specs: the change alters which aliases a shell defines and which files it sources. - Run each hand check with HOME, ZDOTDIR, XDG_CONFIG_HOME and GIT_CONFIG_GLOBAL under one temporary directory. With only HOME changed, install.sh wrote a temporary path into the tracked git/.gitconfig. - Widen the static check to any $0 or PWD path, correct the order of the hand check in the design, the rejected repair with %x, and the exception of the Why.
Owner
Plan evaluation: fixed in 457698fI checked the plan against Defects and fixes
Checks
Notes
|
dan-petty
force-pushed
the
fix/1-source-aliases-only-from-aliases-zsh
branch
from
November 27, 2026 12:47
3689627 to
457698f
Compare
Owner
|
Independent review of head 457698f: no blocker.
|
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.
install.sh creates no ~/.aliases.zsh link, so zsh/.zshrc falls back to a path built from $0. During interactive startup $0 is the shell name, so that fallback points at the directory where the shell starts: the aliases are missing after an install, and any directory that holds an aliases.zsh runs its code in the user's shell. The plan makes the installer link the alias file to ~/.aliases.zsh, and makes the startup file source that file only. The check installs into a fresh HOME under one temporary folder and shows that alias ll prints. Then it removes the alias link and starts a zsh in a directory that holds a marker aliases.zsh: the marker stays out. The spec delta shell-aliases states both rules. Each scenario names a live zsh check and a git grep check, and each check fails on the base. Issue #1.
Plans #1
Change:
openspec/changes/1-source-aliases-only-from-aliases-zsh/