mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-18 10:22:00 +00:00
parent
95579e3ca1
commit
80fa5e1376
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ function opswd() {
|
||||||
|
|
||||||
local password
|
local password
|
||||||
# Copy the password to the clipboard
|
# Copy the password to the clipboard
|
||||||
if ! password=$(op item get "$service" --fields password 2>/dev/null); then
|
if ! password=$(op item get "$service" --reveal --fields password 2>/dev/null); then
|
||||||
echo "error: could not obtain password for $service"
|
echo "error: could not obtain password for $service"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue