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

Filename autocompletion for dot program does not accept .gv extension #1109

Closed
3 tasks
bluelightning32 opened this issue Feb 18, 2024 · 1 comment · Fixed by #1110
Closed
3 tasks

Filename autocompletion for dot program does not accept .gv extension #1109

bluelightning32 opened this issue Feb 18, 2024 · 1 comment · Fixed by #1110

Comments

@bluelightning32
Copy link

Describe the bug

Dot is a program in the graphviz package. Its source files used to use .dot as a file extension. However, according to wikipedia, .gv is now the preferred file extension.

Bash autocompletion only accepts files with the legacy .dot extension. It will not autocomplete files with the .gv extension.

To reproduce

  1. Create a blank file called test.gv. For example, it can be created by running : >test.gv.
  2. Type dot test.
  3. Hit tab. Watch how the filename is not completed.

Expected behavior

The test.gv filename from the example should be expanded when tab is pressed.

Versions (please complete the following information)

  • Distro: Fedora Linux 39
  • bash version: 5.2.26(1)-release
  • bash-completion version: 2.11

Additional context

Debug trace

trace.txt

akinomyoga added a commit to akinomyoga/bash-completion that referenced this issue Feb 19, 2024
The dot command from graphviz used .dot for the filename extension in
the past, but .gv is the preferred extension.

References:

scop#1109
@akinomyoga
Copy link
Collaborator

Thanks for the report.

akinomyoga added a commit to akinomyoga/bash-completion that referenced this issue Feb 19, 2024
The dot command from graphviz used .dot for the filename extension in
the past, but .gv is the preferred extension.

References:

scop#1109
scop pushed a commit that referenced this issue Feb 19, 2024
The dot command from graphviz used .dot for the filename extension in
the past, but .gv is the preferred extension.

References:

#1109
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 a pull request may close this issue.

2 participants