credentials: use sekrit cp

This commit is contained in:
Lucas 2020-05-25 15:18:06 +00:00
parent 4657adf4b1
commit 1d45d3c561

View File

@ -34,13 +34,13 @@ clip()
get_user() get_user()
{ {
printf user printf user
sekrit get "services/$1/user" | clip && printf "\n" sekrit cp "services/$1/user" && printf "\n"
} }
get_pass() get_pass()
{ {
printf pass printf pass
sekrit get "services/$1/pass" | clip && printf "\n" sekrit cp "services/$1/pass" && printf "\n"
} }
get_2fa() get_2fa()