Skip to content

Commit

Permalink
MMVII: bash completion:fix completion of arbitrary file name used as …
Browse files Browse the repository at this point in the history
…input
  • Loading branch information
meynardc committed Mar 13, 2024
1 parent 6121912 commit 8fdabde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MMVII/bash-completion/mmvii-completion
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def printSpecHelp(all_specs, spec, value) -> None:
extensions += ['.xml','.json']
printFiles(value,extensions)
return
file_types = ('FDP','I','Out','OptEx')
file_types = ('FDP','In','Out','OptEx')
if len(set(semantic).intersection(file_types)):
printFiles(value)
return
Expand Down
2 changes: 1 addition & 1 deletion MMVII/bash-completion/mmvii-completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def printSpecHelp(all_specs, spec, value) -> None:
extensions += ['.xml','.json']
printFiles(value,extensions)
return
file_types = ('FDP','I','Out','OptEx')
file_types = ('FDP','In','Out','OptEx')
if len(set(semantic).intersection(file_types)):
printFiles(value)
return
Expand Down

0 comments on commit 8fdabde

Please sign in to comment.