Skip to content

Completion for host name by service-type (mdns, bonjour and dns) #498

Open
@sirnewton01

Description

@sirnewton01

For commands like ssh and sftp the service type is known in context. For others like curl or xdg-open that accept URLs, the context might be available from the URL prefix (e.g. http://, https://). This information could be used to complete using either (or both) avahi and dig commands.

The avahi completion is already there, but it only triggers on _workstation._tcp. The idea would be to allow different commands to provide the context of the type of service that they are operating on and discover the hostnames based on that.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions