switch back to bitwarden
This commit is contained in:
parent
c649eab38a
commit
e496f90e62
9 changed files with 24 additions and 50 deletions
|
|
@ -27,8 +27,8 @@ pkgs.writeTextFile {
|
|||
exit
|
||||
fi
|
||||
|
||||
user=`rbw get --full $\{params["host"]} | grep "Username:" | cut -d' ' -f2-`
|
||||
pass=`rbw get $\{params["host"]}`
|
||||
user=`rbw get --folder Git --full $\{params["host"]} | grep "Username:" | cut -d' ' -f2-`
|
||||
pass=`rbw get --folder Git $\{params["host"]}`
|
||||
|
||||
if [ "x$user" == "x" ] || [ "x$pass" == "x" ]; then
|
||||
echo "Couldn't find host in rbw DB." > /dev/stderr
|
||||
|
|
@ -40,5 +40,5 @@ pkgs.writeTextFile {
|
|||
fi
|
||||
'';
|
||||
executable = true;
|
||||
destination = "/bin/git-credential-rw";
|
||||
destination = "/bin/git-credential-rbw";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue