fish completion fails without a second level password
Eric D.
nospamthankyou at ericdeis.com
Fri Jul 12 08:52:23 CEST 2019
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#"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20190711/11e022ad/attachment.html>
More information about the Password-Store
mailing list