How do I get bash on OS X Lion to ignore .DS_Store files during tab completion?

前端 未结 2 972
轻奢々
轻奢々 2020-12-28 17:34

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 f

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-28 17:59

    Add this line to your .bash_profile file:

    export FIGNORE=DS_Store
    

提交回复
热议问题