ohmybash / oh-my-bash

A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
https://ohmybash.github.io
MIT License
5.55k stars 626 forks source link

Problem with tar auto completion #452

Open mah454 opened 12 months ago

mah454 commented 12 months ago

Please fix this problem . when i want to extract tar archive :


# ls 
archive.tar

# tar -xvf ar[TAB] 
ar                     arecord                aria2c                 arm2hpdl               arpd                   arptables-nft          arptables-nft-save     arptables-save         
arch                   arecordmidi            ark                    arp                    arptables              arptables-nft-restore  arptables-restore
jonware commented 11 months ago

This seems to be an issue with the tar bash completion, rather than oh-my-bash. Specifically it fails for me (Debian 12) when the nocasematch shopt is set.

Works again after setting CASE_SENSITIVE=true

akinomyoga commented 11 months ago

Thanks for the information. I think the following line is matching unexpectedly: completions/tar:562 @ scop/bash-completion.