Repository navigation
Conversation
Add visible aliases `ls` for `list` and `rm` for `remove` commands. These are common shortcuts that users expect from Unix conventions. The aliases are shown in help text, making them discoverable: list List worktrees and their status [aliases: ls] remove Remove worktree; delete branch if merged [aliases: rm] Fixes max-sixty#406 Co-Authored-By: Claude Opus 4.5 <[email protected]>
Owner
|
thank you for the PR, but I don't think we're ready to make a decision here, I still think we should let people figure out their own setups for a while before potentially coalescing on an option. |
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
Adds visible aliases
lsforlistandrmforremovecommands, addressing the request in #406.These are common shortcuts that users intuitively try after installing worktrunk (as noted in the issue comments). The aliases are shown in help text, making them discoverable:
Changes
visible_alias = "ls"to theListcommandvisible_alias = "rm"to theRemovecommandNotes
Using
visible_alias(vs hiddenalias) shows the aliases in help text, which helps discoverability while still allowing tab completion to work with the full command names. This addresses the maintainer's concern about tab completion from the issue discussion.Fixes #406
🤖 Generated with Claude Code