Closed pfr-dev closed 8 months ago
Hello! I have no experience with alpine or ash, though I suppose I could spin up a test environment somewhere. Shellcheck does show a lot of issues if I switch the shell to sh
or ash
, so I believe it does use several bash specific features.
I suppose I should either document that it requires bash, or rewrite it to be POSIX compliant.
Could you try the version in the linked PR? Raw file here for convenience:
Could you try the version in the linked PR? Raw file here for convenience:
That works. Thanks :)
Do you plan on merging this PR?
Sure do! Just wanted to make sure it works before doing so. Thanks for testing, and for the bug report!
I am using
rbw
withrbw-menu
to access my Bitwarden database, usingpinentry-bemenu
as my pinentry andbemenu
as the interface.Here is how I have it set up:
rbw-menu
:When I execute
rbw-menu password | wl-copy
from the command line or from my wm's keybinds the password is not copied. However, when I executerbw get <password> | wl-copy
from the command line it works. This leads me to believe thatrbw
andwl-copy
do work, there must be something wront withrbw-menu
.As you might have noiticed from the shebang, I'm using
ash
on Alpine Linux (in-case there are anybash
specific syntax in this script).Thanks
edit: spelling