Skip to content

Add bash completion script #2930

Closed
Closed

Description

@rom1v

scrcpy have a lot of options. It would be convenient if they were auto-completed on the command line.

For example:

scrcpy --loc
# press <tab><tab>
scrcpy --lock-video-orientation

https://iridakos.com/programming/2018/03/01/bash-programmable-completion-tutorial

On debian, the existing completion scripts are stored in /usr/share/bash-completion/completions.

Activity

  1. added 2 commits that reference this issue on Feb 22, 2022
    7a5717b
    3ce6f8c
  2. added a commit that references this issue on Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions