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?
相关问题
- How to get the return code of a shell script in lu
- JQ: Select when attribute value exists in a bash a
- Invoking Mirth Connect CLI with Powershell script
- Xcode debugger displays incorrect values for varia
- Is there a way to report errors in Apple documenta
相关文章
- 使用2台跳板机的情况下如何使用scp传文件
- 现在使用swift开发ios应用好还是swift?
- Visual Studio Code, MAC OS X, OmniSharp server is
- In IntelliJ IDEA, how can I create a key binding t
- Check if directory exists on remote machine with s
- shell中反引号 `` 赋值变量问题
- How get the time in milliseconds in FreeBSD?
- xcode 4 garbage collection removed?
A better method is to also exclude the other things that might already be in FIGNORE using
export FIGNORE="$FIGNORE:DS_Store"
Add this line to your
.bash_profile
file: