Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add tab completions tocoder ssh #20158

Open
Assignees
copilot-swe-agent
@ethanndickson

Description

@ethanndickson

Currently, Coder CLI completions can be installed usingcoder completion. Right now this supports all commands and flags, but not any arguments or flag values.

However, we can also supply a customCompletionHandler to thecoder ssh command that will populate the autocomplete suggestions with a list of all agents owned by the currently logged in user.

coder ssh supports lots of formats so these completions will need to decide on just one, such as<agent>.<workspace>.
However,<workspace> aliases should also be added to the list for single-agent workspaces, since most workspaces are single-agent.

e.g.

$ coder ssh<TAB>golang-devreactbackend.testingdb.testing

Related to#14986, where tab completion support forssh coder.<TAB> was removed with the introduction of the wildcard ssh config.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp