Closed sandrogauci closed 5 years ago
I think gopass should be consistent with the way pass works. What's the behavior of pass about subdirs starting with dot? Does it index them?
@cortex - I agree, it would be more neat to do the truncation on presentation.
@lcmaqueda - pass uses tree in cmd_find()
which does not search through files or directories starting with a dot. My change only handles directories.
+1 to skipping directories starting with dot. I would even apply the same logic to regular files +1 to truncation on presentation. Otherwise we should trim the password-store prefix before matching to avoid matching the "/home/username/..."
Please see the commit info.