summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/filesystem.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/filesystem.go b/source/filesystem.go
index 96853c8dd..abec6ca6e 100644
--- a/source/filesystem.go
+++ b/source/filesystem.go
@@ -122,6 +122,10 @@ func ignoreDotFile(filePath string) bool {
return true
}
+ if base[0] == '#' {
+ return true
+ }
+
if base[len(base)-1] == '~' {
return true
}