Permalink
Browse files

Don't autocomplete .git

  • Loading branch information...
1 parent 77e5fe5 commit 5e7471a5020de40dade876c766fce265763700b0 @judofyr committed Feb 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 arc
View
2 arc
@@ -15,7 +15,7 @@ class Arc
end
def files
- @files ||= @path.children.select { |p| p.directory? }
+ @files ||= @path.children.select { |p| p.directory? }.reject { |p| p.to_s =~ /.git$/ }
end
def main_for(path)

0 comments on commit 5e7471a

Please sign in to comment.