I have lots of directories with a single file in them. The presence of .DS_Store files makes filename completion a little awkward. How do I tell bash to ignore .DS_Store files when I hit tab?
Add this line to your .bash_profile
file:
export FIGNORE=DS_Store
A better method is to also exclude the other things that might already be in FIGNORE using
export FIGNORE="$FIGNORE:DS_Store"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With