Given the following passwords, without any folders:
Password Store
├── app1
├── app2
├── test
├── test2
└── test3

Autocompletion fails via rm command.
$ pass rm t[tab]
~/.config/fish/completions/pass.fish (line 4): No matches for wildcard '"$prefix"/**"$ext"'. See `help expand`.        23:37:31
    printf '%s\n' "$prefix"/**"$ext" | sed "s#$prefix/\(.*\)$strip#\1#"
                  ^
in function '__fish_pass_print'
    called on line 50 of file ~/.config/fish/completions/pass.fish
    with parameter list '.gpg .gpg'

in function '__fish_pass_print_entries'
    called on standard input

Given the following passwords, with one folder:
Password Store
├── app1
├── app2
├── foo
│   └── bar
├── test
├── test2
└── test3

$ pass rm t[tab]
Autocompletion now works!

Also if there are zero passwords in the store, Autocompletion throws the same error below.
$ pass fo[tab]
~/.config/fish/completions/pass.fish (line 4): No matches for wildcard '"$prefix"/**"$ext"'. See `help expand`.           23:47:40
    printf '%s\n' "$prefix"/**"$ext" | sed "s#$prefix/\(.*\)$strip#\1#"

_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to