add bitwarden security aliases

This commit is contained in:
MorganGeek
2020-06-24 15:21:13 +02:00
parent 9e5c369133
commit 409b3695f8
2 changed files with 7 additions and 1 deletions

View File

@ -279,6 +279,12 @@ function jenkins-cli {
local script_location=$(find $HOME/code/jenkins-cloudbees-core -name "jenkins-cli.sh")
eval "$script_location $*"
}
function passwords {
bw list items --search "$1" | jq -c '.[] | .name + " " + .login.username + ":" + .login.password + " " + .login.uris[0].uri'
}
function password {
bw get password "$1"
}
function colorpic {
local picture_url="$1"
echo "Colorizing $picture_url"