Skip to content

autocomplete: install script instead of generating it in shell config #2693

Open
@Codelax

Description

@Codelax

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Currently, the autocomplete is installed by adding the script generation command to shell config (.bashrc), but the command scw autocomplete generate takes more than half a second to run, it should be quicker or we can generate this script once to the location of completion script for the used shell.

This would speed up the shell startup time.

How I imagine scw could expose this functionality

scw autocomplete install would install shell completion correctly

References

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions