mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
fix(rbw): quote password variable
password wasnt quoted so if it had spaces it would get split. pretty bad for a password manager plugin lol
This commit is contained in:
parent
88659ed193
commit
01d280dbfe
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ function rbwpw {
|
|||
echo -n "$_random" > "$_cache"
|
||||
|
||||
# Use clipcopy to copy the password to the clipboard
|
||||
echo -n $pw | clipcopy
|
||||
echo -n "$pw" | clipcopy
|
||||
echo "password for $service copied!"
|
||||
|
||||
# Clear the clipboard after 20 seconds, but only if the clipboard hasn't
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue