-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve "rbw get" search #114
Comments
i think i would prefer for |
Totally agree with your thoughts on consistency. I hat myself when the tool I use behave in a different way after the update. My mistake was that I would imagine some one relies on "nothing was found" behavior. P.S.: I still don't quite follow the way it works with two words. Could you maybe explain the logic? |
the syntax is |
@GRbit One thing to consider may be to pair it with something like passwd() {
rbw unlock && rbw get "$(rbw list | fzf)"
} Edited to add unlock command |
@dgmcdona that's f*cking brilliant! With this I think I'd rather close the issue. That works like a charm. |
Glad it works for you! I realized after posting that it helps if you also prefix that with a call to |
Based on @dgmcdona's script I made a slight modification to allow get --raw, --field xxx and --full as parameters (as I need --raw or --field PIN to get custom field PIN for bank cards). And I like to search in folder names as well :)
|
I have a note in my Bitwarden Vault, that has as its name a UUID (eg bc0b722f-9aa0-4aad-badc-d0e94bbd981a). It also happens to be in a folder.
Other notes in that folder can be normally retrieved. New issue or expected behaviour? |
When I search for an entry, sometimes I want a better search matching. For example, when I use two words in search,
rbw
interprets it as an email, so I need to change query. Like this:It would be great to not only add a fallback in case "nothing was found", but maybe also try to implement other search improvements. My first suggestion — if all letters in a request are lowercase, then make the search case insensitive. The next step could be a "non-strict search" which allows typos (only if nothing was found with the original request).
@doy can you share your thought on this? Which improvements you'd like to see in PR's, and which would be too much?
The text was updated successfully, but these errors were encountered: