Friday, May 13, 2011

get rid of annoying ._filename working with TextMate on a mounted NFS

Just had this annoying experience of working on an NFS mounted file system with TextMate. Basically, it tries to store metadata such as cursor position, etc. into metadata files. Since these mounted file system does not support extended attributes, so OSX instead writes to ._filename, which is really annoying since the directory is under version control and you see many of these metadata files showing up.

After poking around, I figured out how to turn this metadata feature off, yes, I lost a bit convenience feature, but no more cleanup of these ._filename anymore!

defaults write com.macromates.textmate OakDocumentDisableFSMetaData 1

References: TextMate Expert Preferences