Skip to content

Fix t completion hiding the switch subcommand - #71

Merged
nnutter merged 1 commit into
masterfrom
switch
Oct 5, 2026
Merged

nnutter merged 1 commit into
masterfrom
switch

Conversation

@nnutter

@nnutter nnutter commented Oct 5, 2026

Copy link
Copy Markdown
Owner

No description provided.

The switch command is hidden from timber help because the t wrapper
handles switch itself so it can cd, but hiding also removes switch
from timber __complete, which the generated _t completion delegates
to. Layer switch and its sw alias over the delegated completions when
completing the subcommand name, mirroring the wrapper-only --no-cd
flag, so t once again completes switch while timber help stays quiet.
@nnutter
nnutter merged commit bf55f69 into master Oct 5, 2026
1 check passed
@nnutter
nnutter deleted the switch branch October 5, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant