Add TRY_NAME_FIRST option for name-first directory format#108
Open
Andrew-Girgis wants to merge 1 commit into
Open
Add TRY_NAME_FIRST option for name-first directory format#108Andrew-Girgis wants to merge 1 commit into
Andrew-Girgis wants to merge 1 commit into
Conversation
Setting TRY_NAME_FIRST=1 creates directories as name-date (e.g. redis-2026-04-16) instead of date-name, making tab completion work naturally from the command line. Closes tobi#107
9c420d4 to
1b79e10
Compare
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.
Summary
TRY_NAME_FIRST=1environment variable to create directories asname-date(e.g.redis-2026-04-16) instead of the defaultdate-namecd src/tries/red<TAB>resolves immediately instead of requiringlsor knowing the exact date prefixtry new,try clone,try worktreeCloses #107
Test plan
TRY_NAME_FIRST=1 try rediscreatesredis-2026-04-16-redisname-datewhenTRY_NAME_FIRST=1TRY_NAME_FIRST=1 try clone <url>createsrepo-datedirectory