mirror of
https://github.com/He4eT/fuzzy-bitwarden-clipboard.git
synced 2026-05-04 14:57:22 +00:00
Consistent quote marks
This commit is contained in:
parent
a4480488a2
commit
f65bb702c8
2 changed files with 4 additions and 4 deletions
|
|
@ -20,13 +20,13 @@ Copy the script to any directory included in your $PATH.
|
||||||
```
|
```
|
||||||
$ bwc github
|
$ bwc github
|
||||||
[sudo] password for $USER:
|
[sudo] password for $USER:
|
||||||
Using the existing session key from "/home/$USER/.bitwarden_session".
|
Using the existing session key from '/home/$USER/.bitwarden_session'.
|
||||||
Searching for 'github'...
|
Searching for 'github'...
|
||||||
|
|
||||||
abcdefgh-ijkl-mnop-qrst-uvwxyz123456
|
abcdefgh-ijkl-mnop-qrst-uvwxyz123456
|
||||||
github.com
|
github.com
|
||||||
|
|
||||||
Username "Username" copied to clipboard.
|
Username 'Username' copied to clipboard.
|
||||||
Press any key to copy the password...
|
Press any key to copy the password...
|
||||||
Password copied to clipboard.
|
Password copied to clipboard.
|
||||||
```
|
```
|
||||||
|
|
|
||||||
4
bwc
4
bwc
|
|
@ -28,7 +28,7 @@ process_item () {
|
||||||
|
|
||||||
local username="$(jq -r ".login.username" <<< $login)"
|
local username="$(jq -r ".login.username" <<< $login)"
|
||||||
echo $username | xclip -sel clip
|
echo $username | xclip -sel clip
|
||||||
echo "Username \"$username\" copied to clipboard."
|
echo "Username '$username' copied to clipboard."
|
||||||
|
|
||||||
read -s -k $'?Press any key to copy the password...\n'
|
read -s -k $'?Press any key to copy the password...\n'
|
||||||
jq -r ".login.password" <<< $login | xclip -sel clip
|
jq -r ".login.password" <<< $login | xclip -sel clip
|
||||||
|
|
@ -61,7 +61,7 @@ main() {
|
||||||
sessionkey=$(bw unlock --raw)
|
sessionkey=$(bw unlock --raw)
|
||||||
save_sessionkey $sessionkey
|
save_sessionkey $sessionkey
|
||||||
else
|
else
|
||||||
echo "Using the existing session key from \"$sessionfile\"."
|
echo "Using the existing session key from '$sessionfile'."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get a list of matching items
|
# Get a list of matching items
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue