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

Request removal of dragon completion #1337

Closed
mjsir911 opened this issue Feb 23, 2025 · 2 comments
Closed

Request removal of dragon completion #1337

mjsir911 opened this issue Feb 23, 2025 · 2 comments

Comments

@mjsir911
Copy link

Hi,

It looks like y'all have a completion rule for the command dragon. Unfortunately, there's a name collision on that command and my use of the drag-and-drop tool doesn't warrant filtering for only media types.

Would it be possible to restrict this rule? Or would the way around be to add a dragon-specific bash completion rule that does nothing?

_comp__init_install_xspec '!*@(.@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|vob|VOB|bin|dat|divx|DIVX|vcd|ps|pes|fli|flv|FLV|fxm|FXM|viv|rm|ram|yuv|mov|MOV|qt|QT|web[am]|WEB[AM]|mp[234]|MP[234]|m?(p)4[av]|M?(P)4[AV]|mkv|MKV|og[agmv]|OG[AGMV]|opus|OPUS|t[ps]|T[PS]|m2t?(s)|M2T?(S)|mts|MTS|wav|WAV|flac|FLAC|asx|ASX|mng|MNG|srt|m[eo]d|M[EO]D|s[3t]m|S[3T]M|it|IT|xm|XM|iso|ISO)|+([0-9]).@(vdr|VDR))?(.@(crdownload|part))' kaffeine dragon totem

Thanks

@akinomyoga
Copy link
Collaborator

akinomyoga commented Feb 23, 2025

Have you noticed the second and third questions in the FAQ section of the README?

P.S.

You can override the setting by putting your custom setting in e.g. ~/.local/share/bash-completion/completions/dragon. It should be noted that the settings added by _comp__init_install_xspec will be used only when no completion settings are found.

@mjsir911
Copy link
Author

Have you noticed the second and third questions in the FAQ section of the README?

No 😭😭😭, thanks for the simple & quick response

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

No branches or pull requests

2 participants