Skip to content
Snippets Groups Projects
Unverified Commit da7731dd authored by Jordan Cannon's avatar Jordan Cannon Committed by GitHub
Browse files

Add bash completion script (#1460)

* Add bash completion script

* Move completion script to shared

* Remove shebang from bash completion script

Completion scripts are sourced not executed.

* Add bash completion script to CMakeLists.txt

* Add completion for MIME types

* Add completion for sessions

* Guard commands that need a running CopyQ server

* Refactor bash completion script

Use an array for command names, move common completion logic into
functions, and remove unused patterns from the case statements.
parent bde03aab
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment