Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh: add option completion. #179

Merged
merged 1 commit into from
Sep 28, 2023
Merged

Conversation

HiFiPhile
Copy link
Contributor

Basically copied from bash-completion.

@HiFiPhile
Copy link
Contributor Author

Btw is it possible to extend completion to scp/sftp as many things are in common ?

@chrisant996
Copy link
Collaborator

Looks good.

@chrisant996 chrisant996 merged commit 4e40a60 into vladimir-kotikov:master Sep 28, 2023
@chrisant996
Copy link
Collaborator

Btw is it possible to extend completion to scp/sftp as many things are in common ?

Of course. Split out shared bits, define multiple argmatchers, and reference the shared bits where appropriate, and add unique bits where appropriate.

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.

2 participants