Problem parsing bash completioms files in Fedora distro #11099
Replies: 4 comments
-
@mwoodpatrick this looks like a 3rd party bash-completion script error. Is this the WSL Fedora image used for testing:
|
Beta Was this translation helpful? Give feedback.
-
Running rpm -qf /usr/share/bash-completion/completions/tss2 shows tpm2-tools-5.5-4.fc39.x86_64 The complete set of packages I installed is: Packages installed by user |
Beta Was this translation helpful? Give feedback.
-
Can confirm @mwoodpatrick's findings that tss bash completion works correctly on Fedora Remix for WSL:
I can see the line that is generating that error for you, but I'm not sure why. |
Beta Was this translation helpful? Give feedback.
-
I'm seeing the same issue with ArchWSL and Alpine but not Ubuntu 22.04 |
Beta Was this translation helpful? Give feedback.
-
Windows Version
10.0.22635.0
WSL Version
2.1.1.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.146.1-microsoft-standard-WSL2
Distro Version
Fedora Linux 39 (Container Image)
Other Software
None
Repro Steps
source /usr/share/bash-completion/completions/tss2
Expected Behavior
Parses file without issue
Actual Behavior
-bash: /usr/share/bash-completion/completions/tss2: line 21: syntax error near unexpected token
(' -bash: /usr/share/bash-completion/completions/tss2: line 21:
-!(-*) | getrandom)'Diagnostic Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions