bitwarden: cleanest way to avoid newline at the end of password
MODIFY
commands/password-managers/bitwarden/copy-first-matching-password.sh
commands/password-managers/bitwarden/copy-first-matching-password.sh
@@ -54,7 +54,7 @@ if [[ -z $name || -z $password || ( $name == "null" && $password == "null") ]];
exit 1
fi
-echo $password | tr -d " \t\n\r" | pbcopy
unset $password
+echo -n $password | pbcopy
echo "Copied the password for '$name' to the clipboard."
exit 0

bitwarden: cleanest way to avoid newline at the end of password