pass icon indicating copy to clipboard operation
pass copied to clipboard

wrong `pass-view` behaviour on dirname

Open firmart opened this issue 6 years ago • 2 comments

A minor issue. If I press <RET> on the directory name www.linkedin.com in the below example, it shows me the pass-view of the entry bitbucket.org. I think that the expected behaviour should show No entry at point just like it actually does on ├── symbol.

├── bitbucket.org
├── www.linkedin.com
    ├── account1
    ├── account2
    ├── account2

firmart avatar Jun 16 '19 01:06 firmart

Furthermore, pass-mode doesn't handle the following situation:

├── bitbucket.org
├── www.linkedin.com.gpg
├── www.linkedin.com
    ├── account1
    ├── account2
    ├── account2

where there is a password entry (www.linkedin.com.gpg) and a directory name (www.linkedin.com) which share the same basename. The pass cli doesn't have a problem with this, but in pass-mode, www.linkedin.com.gpg is inaccessible.

ktetzlaff avatar Sep 08 '22 19:09 ktetzlaff

@ktetzlaff can you confirm the www.linkedin.com.gpg is not named www.linkedin.com.gpg.gpg (typically the .gpg extension is omitted from the tree output)? If it is that could be the reason you observe this behaviour.

doolio avatar Dec 05 '23 09:12 doolio